Libmad


I've downloaded the sdl_mixer fix with the libmad support, it only contains the lib file.

Do I need any header files, if so which ones?

I also know that I need to use the sdl_mad <file 1> command but with just the above lib that won't work.

Thanks for any help.
 
namco said:
I've downloaded the sdl_mixer fix with the libmad support, it only contains the lib file.

Do I need any header files, if so which ones?

I also know that I need to use the sdl_mad <file 1> command but with just the above lib that won't work.

Thanks for any help.
you need SDL_mixer.h for sure, if libmad is intergrating into SDL_mixer that may be the only file you need.

You shouldnt be using command as in console in your application. You only need function calls. My best guess is that you can use Load_WAV and when you pass the file it then picks libmad if its the correct format.

Heres some SDL_mixer doc's: SDL_Mixer
 
Last edited by a moderator:
Back
Top