From 4642dffd091481f055d52aba9e0f785a80b6e1cb Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 2 Apr 2013 22:32:30 +0100 Subject: [PATCH] Revert back to smaller alsa buffer --- sound/arm/bcm2835-pcm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/arm/bcm2835-pcm.c b/sound/arm/bcm2835-pcm.c index c5684bae647f7a..8d182f0f58f887 100755 --- a/sound/arm/bcm2835-pcm.c +++ b/sound/arm/bcm2835-pcm.c @@ -26,11 +26,11 @@ static struct snd_pcm_hardware snd_bcm2835_playback_hw = { .rate_max = 48000, .channels_min = 1, .channels_max = 2, - .buffer_bytes_max = 32 * 1024, /* Needs to be less than audioplay buffer size */ - .period_bytes_min = 4 * 1024, - .period_bytes_max = 32 * 1024, + .buffer_bytes_max = 128 * 1024, + .period_bytes_min = 1 * 1024, + .period_bytes_max = 128 * 1024, .periods_min = 1, - .periods_max = 32, + .periods_max = 128, }; static void snd_bcm2835_playback_free(struct snd_pcm_runtime *runtime)