Adblock breaks this site

How do I add MP3 to a program

Discussion in 'Programming General' started by fredecus, Dec 3, 2010.

  1. fredecus

    fredecus Apprentice

    Joined:
    Jan 17, 2010
    Posts:
    884
    Referrals:
    0
    Sythe Gold:
    9
    How do I add MP3 to a program

    Hey guys, im making a deal or no deal program and ould like to add the theme song to my intro. Does anyone know how to do this and if so please provide some sample code. Thanks.
     
  2. Govind

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus
    How do I add MP3 to a program

    What libraries are you using? Win32? MFC? .NET? Others? Give more info.
     
  3. fredecus

    fredecus Apprentice

    Joined:
    Jan 17, 2010
    Posts:
    884
    Referrals:
    0
    Sythe Gold:
    9
    How do I add MP3 to a program

    Win32 sorry i was in a rush earlier.
     
  4. Govind

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus
    How do I add MP3 to a program

    I don't think there are any built-in APIs for playing MP3 files in Win32.

    Look up DirectSound.
     
  5. fredecus

    fredecus Apprentice

    Joined:
    Jan 17, 2010
    Posts:
    884
    Referrals:
    0
    Sythe Gold:
    9
    How do I add MP3 to a program

    I just converted to a .WAV and used the playsound funtion.
     
  6. Govind

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus
    How do I add MP3 to a program

    Even better.
     
< A "file" problem (python) | Charny Script Maker >


 
 
Adblock breaks this site