diff options
author | Eric Laurent <elaurent@google.com> | 2011-10-13 18:25:59 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2011-10-13 18:25:59 -0700 |
commit | 963b7f331fef72b1519759b96f9390c96ec2c2b4 (patch) | |
tree | 4a5e3bbaff7cecc3e717fa4c08540218598bced8 | |
parent | 26b708c9650c6dcf065ddd64182e0814fabc31ce (diff) | |
download | device_samsung_tuna-963b7f331fef72b1519759b96f9390c96ec2c2b4.zip device_samsung_tuna-963b7f331fef72b1519759b96f9390c96ec2c2b4.tar.gz device_samsung_tuna-963b7f331fef72b1519759b96f9390c96ec2c2b4.tar.bz2 |
audio HAL: change ALSA period size
ALSA period sizes must be a multiple of 24 frames to match
ABE requirement.
Change-Id: I52ac1d5d4a2588a1b66100bfecab6d35339fc718
-rwxr-xr-x | audio/audio_hw.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, }; |