15 Mar
2011
15 Mar
'11
11:51 a.m.
-----Original Message----- From: Jaroslav Kysela [mailto:perex@perex.cz] Sent: den 14 mars 2011 11:53 To: Magnus Olsson Cc: alsa-devel@alsa-project.org Subject: Re: [alsa-devel] Dsnoop-plugin buffer sizes
Also, you may try to force the buffer size to 8000 for dsnoop (use period_size 2000, periods 4) in your dmix slave configuration, for example:
type dmix slave { period_size 2000 periods 4 }
If this works, it's probably a bug in the driver.
Ah, yes, I traced down the issue in the PCM driver. It assumed params_periods()*params_period_bytes() == params_buffer_bytes() without an integer constraint on number of periods.
Thanks!
Jaroslav
Jaroslav Kysela perex@perex.cz Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.