mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
ASoC: msm: Modify min and max period bytes and num periods
Modify min and max period bytes and number of periods in compressed driver so as to be consistent with lpa and to meet ION memory requirements. This avoids using huge buffer sizes for tunnel decode. Change-Id: Ib71da4cebfc097e7aeaf0ca0e65ee847ba7cceb7 Signed-off-by: Phani Kumar Uppalapati <phanik@codeaurora.org>
This commit is contained in:
parent
124d6f7020
commit
eb09a2ab1d
1 changed files with 5 additions and 5 deletions
|
@ -86,11 +86,11 @@ static struct snd_pcm_hardware msm_compr_hardware_playback = {
|
|||
.rate_max = 48000,
|
||||
.channels_min = 1,
|
||||
.channels_max = 8,
|
||||
.buffer_bytes_max = 1200 * 1024 * 2,
|
||||
.period_bytes_min = 2400,
|
||||
.period_bytes_max = 1200 * 1024,
|
||||
.periods_min = 2,
|
||||
.periods_max = 1024,
|
||||
.buffer_bytes_max = 1024 * 1024,
|
||||
.period_bytes_min = 128 * 1024,
|
||||
.period_bytes_max = 256 * 1024,
|
||||
.periods_min = 4,
|
||||
.periods_max = 8,
|
||||
.fifo_size = 0,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue