[SDL] ARM SDL ALSA problem

Ryan C. Gordon icculus at icculus.org
Wed Mar 3 07:27:13 PST 2010


> hard-disk and avoids the long decoding time. Unfortunately ALSA shows 
> several buffer under-runs leading to a disrupted playback. To fix this I 
> tried different buffer sizes, but the problem is still existent.
> 
> The code works fine on my host system, but not on the ARM target.

libvorbis uses lots and lots of floating point, perhaps your ARM 
processor can't decode the ogg fast enough to play it in real time?

You should try libtremor, which is a replacement vorbis library that 
uses only integer math. I think it's a drop-in replacement, so it should 
work with SDL_mixer.

--ryan.




More information about the SDL mailing list