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

Commit 7e3bd8cc authored by Aravind Kumar's avatar Aravind Kumar
Browse files

ASoC: msm: Fix wma pro block alignment parameter



The current code assigns and sends the wrong block
alignment information to the adsp because of which wma pro
playback fails. The fix assigns the correct block alignment
information for wma pro.

Change-Id: Ide475bbb8f98cd0201c2f8635a3ed831cd460194
Signed-off-by: default avatarAravind Kumar <akumark@codeaurora.org>
parent f75c756e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -525,7 +525,7 @@ static int msm_compr_send_media_format_block(struct snd_compr_stream *cstream,
			prtd->sample_rate;
		wma_pro_cfg.avg_bytes_per_sec =
			prtd->codec_param.codec.bit_rate/8;
		wma_cfg.block_align =
		wma_pro_cfg.block_align =
			prtd->codec_param.codec.options.wma.super_block_align;
		wma_pro_cfg.valid_bits_per_sample =
			prtd->codec_param.codec.options.wma.bits_per_sample;