From a9b0e8bf8da7fb7577e34c5531916ab77b31e7e6 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 3 Mar 2013 21:35:30 +0000 Subject: [PATCH] Increase the minimum alsa buffer size as we get underrun with some apps (e.g. espeak) --- sound/arm/bcm2835-pcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/arm/bcm2835-pcm.c b/sound/arm/bcm2835-pcm.c index fd8890c24eca48..c5684bae647f7a 100755 --- a/sound/arm/bcm2835-pcm.c +++ b/sound/arm/bcm2835-pcm.c @@ -27,7 +27,7 @@ static struct snd_pcm_hardware snd_bcm2835_playback_hw = { .channels_min = 1, .channels_max = 2, .buffer_bytes_max = 32 * 1024, /* Needs to be less than audioplay buffer size */ - .period_bytes_min = 1 * 1024, + .period_bytes_min = 4 * 1024, .period_bytes_max = 32 * 1024, .periods_min = 1, .periods_max = 32,