ASoC: msm: qdsp6v2: fix crash during flac superset clip playback
During playback of a particular superset flac clip in repeat mode,
the target crashes when random seek operations are done after a
gapless switch. This is because DSP acks EOS earlier than
expected due to which gapless_transition flag is always set during
playback of the second stream. As a result, flush commands are not
issued to DSP causing the decoder to go into a bad state that leads
to a crash.
Set gapless_transition flag only if EOS has not been acknowledged yet.
CRs-Fixed: 1045100
Change-Id: I71af0e13b77ecf53a1b337e3fb2f7a82a2ce25af
Signed-off-by:
Satya Krishna Pindiproli <satyak@codeaurora.org>
Loading
Please register or sign in to comment