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

Commit c8ccb274 authored by Amit Shekhar's avatar Amit Shekhar
Browse files

ASoC: msm: Increase Proxy buffering



-Proxy buffering can overflow if BT playback setup takes
longer than usual.
-Fix this by increasing the proxy buffer size so that
we will end up buffering the additional data that can come
in during this time.

Change-Id: I5d091ff12036a80dbf50fd14556b13852dd0cc24
CRs-Fixed: 547254
Signed-off-by: default avatarAmit Shekhar <ashekhar@codeaurora.org>
parent 9d15b3f2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -40,8 +40,8 @@

#define MIN_CAPTURE_PERIOD_SIZE (128 * 2 * 4)
#define MAX_CAPTURE_PERIOD_SIZE (128 * 2 * 2 * 6 * 4)
#define MIN_CAPTURE_NUM_PERIODS (32)
#define MAX_CAPTURE_NUM_PERIODS (384)
#define MIN_CAPTURE_NUM_PERIODS (32 * 4)
#define MAX_CAPTURE_NUM_PERIODS (384 * 4)

static struct snd_pcm_hardware msm_afe_hardware_playback = {
	.info =                 (SNDRV_PCM_INFO_MMAP |