[alsa-devel] [PATCH] snd-atmel-abdac: increase periods_min to 6 instead of 4
Hans-Christian Egtvedt
hans-christian.egtvedt at atmel.com
Thu Apr 2 13:42:26 CEST 2009
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>
---
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