[SDL] sdl audio jittering

Florian Hufsky fhufsky at phorus.at
Sat Nov 19 10:12:14 PST 2005


Really? I just tried loading a .mp3 through Mix_LoadWAV (through the 
SDL_Mixer's playwave example) and it didn't work (Couldn't load a.mp3: 
Unrecognized sound file type)...

Ricardo Cruz schrieb:

> And it is a documented behavior, so it should work well in all systems:
>http://www.libsdl.org/cgi/docwiki.cgi/Mix_5fLoadWAV
>
> I'm really (happily) suprised about this. I really think you should change 
>the function name. You just need to add a macro like:
>#define Mix_LoadSample Mix_LoadWAV
> This will not break API or ABI compatibility and it would be not misleading.
>
>Cheers,
> Ricardo
>
>Em Quarta 16 Novembro 2005 04:52, o Gabriel escreveu:
>  
>
>>>Havin Mix_LoadWAV_RW load other formats too is a bit strange after all.
>>>And if sdl_mixer is capable of that why didn't they add a generic
>>>load_compressedformatintosound() ?
>>>      
>>>
>>As I said in the other email, I think there's little doubt that the name
>>is indeed misleading. But hey, it works :)
>>
>>        --Gabriel
>>    
>>
>
>  
>




More information about the SDL mailing list