summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDhananjay Kumar <dhakumar@codeaurora.org>2015-06-01 22:24:08 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:11:17 -0700
commit2e17f7a8d83c382b15fdbbe503a1d70b449693ff (patch)
treef5d4f8f5771f9784f1c811b9cfd171523c42ebcf /include/linux
parent63436543198252e0cb823fddca143cd43fcc8d94 (diff)
ASoC: msm: qdsp6v2: fix incomplete playback issue for non-gapless formats
Fix data loss on auto switching of playback to next clip when current playback format is not having gapless support in compressed driver. Media playback complete event is sent to framework on completion of partial drain, this is supposed to be before actual renderer EOS by duration equal to value of PARTIAL_DRAIN_ACK_EARLY_BY_MSEC, but due to uninitialized frame size for non-gapless formats this duration calculated is inaccurate and sometimes triggers drain completion too early, leading to premature teardown of playback session. Fix this by disabling gapless on formats not having valid gapless parameters. Recalculate partial drain delay based on flac min block size to avoid incorrect drain delay for FLAC format. Change-Id: I7f70a6fc17cc9c339ea754fd21aae6865355bef2 Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions