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

Commit 7a2c52df authored by Yunfei Zhang's avatar Yunfei Zhang Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: msm: qdsp6v2: use correct stream id of next session



Gapless playback can't work because incorrect stream id was used.
Fix it by using correct stream id of next session.

Change-Id: I938d62d0d563b9c5940ea88c96d9c256595a9d3c
Signed-off-by: default avatarYunfei Zhang <yunfeiz@codeaurora.org>
parent 111bb652
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2399,13 +2399,13 @@ static int msm_compr_trigger(struct snd_compr_stream *cstream, int cmd)
		case (Q6_SUBSYS_AVS2_7):
			rc = q6asm_stream_open_write_v3(ac,
				prtd->codec, bits_per_sample,
				ac->stream_id,
				stream_id,
				prtd->gapless_state.use_dsp_gapless_mode);
			break;
		case (Q6_SUBSYS_AVS2_8):
			rc = q6asm_stream_open_write_v4(ac,
				prtd->codec, bits_per_sample,
				ac->stream_id,
				stream_id,
				prtd->gapless_state.use_dsp_gapless_mode);
			break;
		case (Q6_SUBSYS_INVALID):