[alsa-devel] Dsnoop-plugin buffer sizes

Jaroslav Kysela perex at perex.cz
Mon Mar 14 11:52:31 CET 2011


On Mon, 14 Mar 2011, Magnus Olsson wrote:

> This output is captured when running periods_min=4.
>
> Direct Snoop PCM
>  buffer_size  : 8000
> Hardware PCM card 0 'X4 AIC3104 Dual' device 0 subdevice 0
>  buffer_size  : 8192

This may be OK. The buffer sizes between plugins can differ.
What are the parameters for direct record ? (use 'arecord -v' with plughw 
device).

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.

 					Jaroslav

-----
Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.



More information about the Alsa-devel mailing list