[alsa-devel] [PATCH] snd-atmel-abdac: increase periods_min to 6 instead of 4

Takashi Iwai tiwai at suse.de
Mon Apr 6 04:06:45 CEST 2009


At Thu,  2 Apr 2009 13:42:26 +0200,
Hans-Christian Egtvedt wrote:
> 
> This patch increases periods_min to 6 from 4, this will remove any
> hickups where the buffer is not filled fast enough from user space.
> 
> Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt at atmel.com>

Applied now (with other all 9 patches).

Thanks.

Takashi

> ---
>  sound/atmel/abdac.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/sound/atmel/abdac.c b/sound/atmel/abdac.c
> index aeda7cf..232de1e 100644
> --- a/sound/atmel/abdac.c
> +++ b/sound/atmel/abdac.c
> @@ -176,7 +176,7 @@ static struct snd_pcm_hardware atmel_abdac_hw = {
>  	.buffer_bytes_max	= 64 * 4096,
>  	.period_bytes_min	= 4096,
>  	.period_bytes_max	= 4096,
> -	.periods_min		= 4,
> +	.periods_min		= 6,
>  	.periods_max		= 64,
>  };
>  
> -- 
> 1.5.6.3
> 


More information about the Alsa-devel mailing list