Mix_LoadWAV is a macro that creates an SDL_RWops for you then calls
Mix_LoadWAV_RW to load a WAV from a file. It supports WAVE-, MOD-,
MIDI-, OGG- and MP3 files (sometimes depends on compilation options).
But that’s wrong. Mix_LoadWAV isn’t capable of loading ogg/mp3/… files
(at least not in my test case with the mini sample that comes with
sdl_mixer).
However I didn’t want to remove that information because we had a
discussion here some time ago which stated that it is capable of doing
that.
Mix_LoadWAV is a macro that creates an SDL_RWops for you then calls
Mix_LoadWAV_RW to load a WAV from a file. It supports WAVE-, MOD-,
MIDI-, OGG- and MP3 files (sometimes depends on compilation options).
But that’s wrong. Mix_LoadWAV isn’t capable of loading ogg/mp3/… files
(at least not in my test case with the mini sample that comes with
sdl_mixer).
However I didn’t want to remove that information because we had a
discussion here some time ago which stated that it is capable of doing
that.
Could someone clarify that?
Thanks,
Florian
–
DeVries’s Dilemma:
If you hit two keys on the typewriter, the one you don’t want
hits the paper.
Mix_LoadWAV is a macro that creates an SDL_RWops for you then calls
Mix_LoadWAV_RW to load a WAV from a file. It supports WAVE-, MOD-,
MIDI-, OGG- and MP3 files (sometimes depends on compilation options).
Currently, Mix_LoadWAV supports WAVE, VOC, AIFF, and, apparently, OGG if
you #define OGG_MUSIC, but you’d almost certainly not want to use .ogg
files of any significant size in here, since it would have to predecode
the whole thing (the LoadMUS path decodes more as it needs it).
i can’t confirm this. on windows this just isn’t the case.
maybe i did something wrong, could someone else try?Am Samstag, den 26.11.2005, 01:57 -0500 schrieb Ryan C. Gordon:
Mix_LoadWAV is a macro that creates an SDL_RWops for you then calls
Mix_LoadWAV_RW to load a WAV from a file. It supports WAVE-, MOD-,
MIDI-, OGG- and MP3 files (sometimes depends on compilation options).
Currently, Mix_LoadWAV supports WAVE, VOC, AIFF, and, apparently, OGG if
you #define OGG_MUSIC, but you’d almost certainly not want to use .ogg
files of any significant size in here, since it would have to predecode
the whole thing (the LoadMUS path decodes more as it needs it).