From 963b7f331fef72b1519759b96f9390c96ec2c2b4 Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Thu, 13 Oct 2011 18:25:59 -0700 Subject: audio HAL: change ALSA period size ALSA period sizes must be a multiple of 24 frames to match ABE requirement. Change-Id: I52ac1d5d4a2588a1b66100bfecab6d35339fc718 --- audio/audio_hw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'audio') diff --git a/audio/audio_hw.c b/audio/audio_hw.c index 6a61cb4..19e1be5 100755 --- a/audio/audio_hw.c +++ b/audio/audio_hw.c @@ -183,7 +183,7 @@ enum tty_modes { struct pcm_config pcm_config_mm = { .channels = 2, .rate = MM_FULL_POWER_SAMPLING_RATE, - .period_size = 1024, + .period_size = 1056, .period_count = 4, .format = PCM_FORMAT_S16_LE, }; @@ -191,7 +191,7 @@ struct pcm_config pcm_config_mm = { struct pcm_config pcm_config_mm_ul = { .channels = 2, .rate = MM_FULL_POWER_SAMPLING_RATE, - .period_size = 1024, + .period_size = 1056, .period_count = 2, .format = PCM_FORMAT_S16_LE, }; -- cgit v1.1