ASoC: compress: update codec option wma to wma_dec

Update codec option wma to wma_dec.

Change-Id: I6462c6a5a9a5b2f1e6f74df951a101331ce75872
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
This commit is contained in:
Vignesh Kulothungan 2020-01-22 15:33:53 -08:00
commit bde9a11153

View file

@ -1112,12 +1112,12 @@ static int msm_compr_send_media_format_block(struct snd_compr_stream *cstream,
wma_cfg.format_tag = prtd->codec_param.codec.format;
wma_cfg.ch_cfg = prtd->codec_param.codec.ch_in;
wma_cfg.sample_rate = prtd->sample_rate;
wma_cfg.avg_bytes_per_sec = codec_options->wma.avg_bit_rate/8;
wma_cfg.block_align = codec_options->wma.super_block_align;
wma_cfg.avg_bytes_per_sec = codec_options->wma_dec.avg_bit_rate/8;
wma_cfg.block_align = codec_options->wma_dec.super_block_align;
wma_cfg.valid_bits_per_sample =
codec_options->wma.bits_per_sample;
wma_cfg.ch_mask = codec_options->wma.channelmask;
wma_cfg.encode_opt = codec_options->wma.encodeopt;
codec_options->wma_dec.bits_per_sample;
wma_cfg.ch_mask = codec_options->wma_dec.channelmask;
wma_cfg.encode_opt = codec_options->wma_dec.encodeopt;
ret = q6asm_media_format_block_wma(prtd->audio_client,
&wma_cfg, stream_id);
if (ret < 0)