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

Commit e0b92347 authored by Ralf Herz's avatar Ralf Herz Committed by Gerrit - the friendly Code Review server
Browse files

dsp: Fix open params for read_compr in IEC61937 mode



The read compressed in IEC61937 mode doesn't unpack data to frames, but
data flow still requires frames_per_buf to be set to nonzero value.

Change-Id: Idb09219c57d7790cb90df62c97baf3ef0e9d8a2f
Signed-off-by: default avatarRalf Herz <rherz@codeaurora.org>
parent 0983e240
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3085,6 +3085,7 @@ int q6asm_open_read_compressed(struct audio_client *ac, uint32_t format,
	 */
	if (format == FORMAT_IEC61937) {
		open.mode_flags = 0x1;
		open.frames_per_buf = 1;
		pr_debug("%s: Flag 1 IEC61937 output\n", __func__);
	} else {
		open.mode_flags = 0;