Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6d444efc authored by Alexy Joseph's avatar Alexy Joseph Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarAlexy Joseph <alexyj@codeaurora.org>
parent 0130e341
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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