ASoC: msm: qdsp6v2: Increase period size for pcm driver.
For playing 24 bit through PCM driver with 40ms buffers, bigger buffers are needed. The size (in bytes) is 1920 (frames) x 4 (bytes per frame) x 8 (max channels). Increase the maximum size of the buffer to fit the bigger buffers. Change-Id: I7a59fb18846903960c329ad163788f6791495830 Signed-off-by: Alexy Joseph <alexyj@codeaurora.org>
This commit is contained in:
parent
05e33e162f
commit
75ba72b4f3
|
@ -59,7 +59,7 @@ struct msm_audio_in_frame_info {
|
|||
|
||||
#define PLAYBACK_MIN_NUM_PERIODS 2
|
||||
#define PLAYBACK_MAX_NUM_PERIODS 8
|
||||
#define PLAYBACK_MAX_PERIOD_SIZE 12288
|
||||
#define PLAYBACK_MAX_PERIOD_SIZE 61440
|
||||
#define PLAYBACK_MIN_PERIOD_SIZE 128
|
||||
#define CAPTURE_MIN_NUM_PERIODS 2
|
||||
#define CAPTURE_MAX_NUM_PERIODS 8
|
||||
|
|
Loading…
Reference in New Issue