mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
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:
parent
7ecd3d4fed
commit
bde9a11153
1 changed files with 5 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue