Hello William, thanks for your answer!
El 04/09/09 17:08, William Pitcock escribió:
----- "Ivan Baldo" <[email protected]> wrote:
Package: audacious
Version: 2.1-1
Severity: normal
Found on Audacious 2.1-1, kernel 2.6.30-1-amd64 (2.6.30-5),
hda-intel with
NVidia MCP61.
Using top, the process hd-audio0 (kernel internal) consumes 46% of 1
CPU
while Audacious plays, doesn't happen with other programs AFAICT.
Just because audacious2 causes the symptom does not mean it is a bug in
Audacious.
This is an ALSA bug. What is happening is that the HD-Audio driver is not
providing
a good default period_size/buffer_size. As most programs now days are not
providing
their own period_size/buffer_size, to give the audio device an opportunity to
provide
good defaults, this will show up in other programs.
I went ahead and searched the ALSA bug database, then submitted a
bug: https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4721 .
You can see also http://thread.gmane.org/gmane.linux.alsa.devel/66376 .
The problem is (it seems to me) that there is not a good value for
all applications, and since there are a lot of hardware combinations
then there isn't a good value for the driver neither, since it can
depend on how fast the CPU is, or the underlying codec, etc..
Maybe an "Expert" frame can be added to the ALSA preferences in
Audacious, having a checkbox to enable and allowing to set the period
size and the buffer size by the user, with a button "Test" so the user
can see the CPU impact and latency, etc.
Thanks again. Have a nice day!
--
Ivan Baldo - [email protected] - http://ibaldo.codigolibre.net/
From Montevideo, Uruguay, at the south of South America.
Freelance programmer and GNU/Linux system administrator, hire me!
Alternatives: [email protected] - http://go.to/ibaldo
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]