search for: mix_loadwav

Displaying 1 result from an estimated 1 matches for "mix_loadwav".

2010 Mar 02
0
VORBIS ALSA SDL playback problem
...-compiled, installed and tested the libraries (SDL, SDL_mixer, libaudio, libvorbis, libvorbisfile etc.) on the system. The sound output is done thru ALSA (SDL_AUDIODRIVER=alsa). And the ogg file decoding thru libvorbis/libvorbisfile libraries. Now I'm trying to play ogg files. First I used the Mix_LoadWAV macro from the SDL_Mixer library for playback. This worked, but the macro decompresses first the complete audio file into memory and then starts the playback. Thus leading to a long delay before playing the music. Therefore I tried a different approach with the Mix_LoadMUS macro (SDL_mixer) to play...