Lines Matching refs:wma_cfg

692 	struct q6asm_wma_cfg wma_cfg;  in __q6asm_dai_compr_set_codec_params()  local
735 memset(&wma_cfg, 0x0, sizeof(struct q6asm_wma_cfg)); in __q6asm_dai_compr_set_codec_params()
737 wma_cfg.sample_rate = codec->sample_rate; in __q6asm_dai_compr_set_codec_params()
738 wma_cfg.num_channels = codec->ch_in; in __q6asm_dai_compr_set_codec_params()
739 wma_cfg.bytes_per_sec = codec->bit_rate / 8; in __q6asm_dai_compr_set_codec_params()
740 wma_cfg.block_align = codec->align; in __q6asm_dai_compr_set_codec_params()
741 wma_cfg.bits_per_sample = prtd->bits_per_sample; in __q6asm_dai_compr_set_codec_params()
742 wma_cfg.enc_options = wma->encoder_option; in __q6asm_dai_compr_set_codec_params()
743 wma_cfg.adv_enc_options = wma->adv_encoder_option; in __q6asm_dai_compr_set_codec_params()
744 wma_cfg.adv_enc_options2 = wma->adv_encoder_option2; in __q6asm_dai_compr_set_codec_params()
746 if (wma_cfg.num_channels == 1) in __q6asm_dai_compr_set_codec_params()
747 wma_cfg.channel_mask = 4; /* Mono Center */ in __q6asm_dai_compr_set_codec_params()
748 else if (wma_cfg.num_channels == 2) in __q6asm_dai_compr_set_codec_params()
749 wma_cfg.channel_mask = 3; /* Stereo FL/FR */ in __q6asm_dai_compr_set_codec_params()
756 wma_cfg.fmtag = 0x161; in __q6asm_dai_compr_set_codec_params()
761 wma_cfg.fmtag = 0x166; in __q6asm_dai_compr_set_codec_params()
765 wma_cfg.fmtag = 0x162; in __q6asm_dai_compr_set_codec_params()
769 wma_cfg.fmtag = 0x163; in __q6asm_dai_compr_set_codec_params()
773 wma_cfg.fmtag = 0x167; in __q6asm_dai_compr_set_codec_params()
785 &wma_cfg); in __q6asm_dai_compr_set_codec_params()
789 &wma_cfg); in __q6asm_dai_compr_set_codec_params()