Console Sound Output

How can one play mp3, midi, and ogg files in a console application?
PlaySoundA() works very well with .wav files, but it doesn't seem to work on anything else.
I have tried MCIWndCreate, but that just opens up and doesn't play the files. I linked the library and included the header, and tried both relative and fixed file paths, but nothing works. What is the best way to play sounds? Higher level is better.
Last edited on
Well first, you should be able to use the sound functions in your application no matter what kind (console/gui).
Good point. I just got SDL_Music working. I didn't think to use it for console.
Ever considered fmod?

http://www.fmod.org/
Topic archived. No new replies allowed.