From: Christian Wolf <wolflpz@web.de>
To: "Daniel Glöckner" <dg@emlix.com>
Cc: Alex Austin <circuitsoft.alex@gmail.com>, alsa-devel@alsa-project.org
Subject: Re: ALSA SDL VORBIS playback problem
Date: Tue, 9 Mar 2010 19:00:43 +0100 (CET) [thread overview]
Message-ID: <12959466.188846.1268157643906.JavaMail.fmail@mwmweb068> (raw)
In-Reply-To: 7299058.27442.1267552227471.JavaMail.fmail@mwmweb068
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@mail.gmail.com>,
<4B8D6F02.1060608@emlix.com>
In-Reply-To: <4B8D6F02.1060608@emlix.com>
Subject: Re: [alsa-devel] 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@emlix.com>
Gesendet: 02-Mar-2010 21:03:14
An: Christian Wolf <wolflpz@web.de>
Betreff: Re: [alsa-devel] 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@alsa-project.org
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@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
prev parent reply other threads:[~2010-03-09 18:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-02 17:50 ALSA SDL VORBIS playback problem Christian Wolf
2010-03-02 19:09 ` Alex Austin
2010-03-02 20:03 ` Daniel Glöckner
2010-03-09 18:00 ` Christian Wolf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=12959466.188846.1268157643906.JavaMail.fmail@mwmweb068 \
--to=wolflpz@web.de \
--cc=alsa-devel@alsa-project.org \
--cc=circuitsoft.alex@gmail.com \
--cc=dg@emlix.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.