sound in console

This is a discussion on sound in console within the Linux Programming forums, part of the Platform Specific Boards category; How would I play an mp3 or any other sound format in a console app so that the music plays ...

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    34

    sound in console

    How would I play an mp3 or any other sound format in a console app so that the music plays in the background while the program is still running normally like it would without any music playing? btw I'm trying to do this using the C language.
    ~flood

  2. #2
    Registered User glUser3f's Avatar
    Join Date
    Aug 2003
    Posts
    345
    Hmm, it would be easier to help if we knew what APIs you use, there is no way to play MP3 files using the standard library.

    One option would be using FMOD:
    http://fmod.org/

    Download the SDK, one of the examples does exactly what you want.

  3. #3
    Registered User
    Join Date
    Aug 2004
    Posts
    34
    i don't know what api to use myself. I just wanted something easy and fast.

    thanks for the link to fmod I'll check it out.
    ~flood

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Low latency sound effects
    By VirtualAce in forum Game Programming
    Replies: 0
    Last Post: 12-21-2004, 01:58 AM
  2. Updated sound engine code
    By VirtualAce in forum Game Programming
    Replies: 8
    Last Post: 11-18-2004, 12:38 PM
  3. DirectSound - multiple sounds
    By Magos in forum Game Programming
    Replies: 9
    Last Post: 03-03-2004, 04:33 PM
  4. Using PC Speaker and NOT the sound card in a console...
    By Trauts in forum A Brief History of Cprogramming.com
    Replies: 19
    Last Post: 04-09-2003, 09:52 PM
  5. sounds?
    By BODYBUILDNERD in forum C++ Programming
    Replies: 6
    Last Post: 12-06-2002, 03:34 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21