libtremor fixed the problem. it seems the arm cpu was to busy with decoding ogg files thru the vorbis/ogg floating point libraries. therefore i did the following: 1. i downloaded the sources for libtremor from the svn: [http://svn.xiph.org/trunk/Tremor/] 2. cross compiled them for my arm board 3. i also had to cross compile the SDL_mixer library again by adding the parameter "--enable-music-ogg-tremor" to the configure command These steps finally fixed the buffer underrun problem completely. Thanks for the help!!! Christian <53baa24a1003021109xe1c76dekc7f390a2a851df28@xxxxxxxxxxxxxx>, <4B8D6F02.1060608@xxxxxxxxx> In-Reply-To: <4B8D6F02.1060608@xxxxxxxxx> Subject: Re: ALSA SDL VORBIS playback problem Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-UI-Message-Type: mail X-UI-ATTACHMENT-ID-POSTFIX: 13a75ccc-b8f8-47b0-a4d0-35dc155c214c -----Urspr=FCngliche Nachricht----- Von: "Daniel Glöckner" <dg@xxxxxxxxx> Gesendet: 02-Mar-2010 21:03:14 An: Christian Wolf <wolflpz@xxxxxx> Betreff: Re: ALSA SDL VORBIS playback problem On 03/02/2010 08:09 PM, Alex Austin wrote: > Basically, see if a straight-up pipe will buffer reasonably. If not, I > suppose it's remotely possible that this is just a CPU-bound operation an= d > it can't keep up. I can't imagine that's really the case though with that > CPU. Libvorbis uses floating point operations while on your AT91SAM9261 you have a soft-float library (or even worse FPU emulation). Try the integer only Tremor library linked here: http://www.xiph.org/vorbis/ The API is slightly different (easier), as it can only generate S16_LE samples. Daniel -- =3D Dipl.-Math. Daniel Gl=3DF6ckner, emlix GmbH, http://www.emlix.com Fon +49 551 30664-0, Fax -11, Bahnhofsallee 1b, 37081 G=3DF6ttingen, German= y Sitz der Gesellschaft: G=3DF6ttingen, Amtsgericht G=3DF6ttingen HR B 3160 Gesch=3DE4ftsf=3DFChrer: Dr. Uwe Kracke, Ust-IdNr.: DE 205 198 055 emlix - your embedded linux partner _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel ___________________________________________________________ WEB.DE DSL: Internet, Telefon und Entertainment für nur 19,99 EUR/mtl.! http://produkte.web.de/go/02/ _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel