Lines Matching refs:mp3_cfg
849 struct payload_media_fmt_pcm *mp3_cfg; in audioreach_set_compr_media_format() local
858 mp3_cfg = p; in audioreach_set_compr_media_format()
859 mp3_cfg->sample_rate = mcfg->sample_rate; in audioreach_set_compr_media_format()
860 mp3_cfg->bit_width = mcfg->bit_width; in audioreach_set_compr_media_format()
861 mp3_cfg->alignment = PCM_LSB_ALIGNED; in audioreach_set_compr_media_format()
862 mp3_cfg->bits_per_sample = mcfg->bit_width; in audioreach_set_compr_media_format()
863 mp3_cfg->q_factor = mcfg->bit_width - 1; in audioreach_set_compr_media_format()
864 mp3_cfg->endianness = PCM_LITTLE_ENDIAN; in audioreach_set_compr_media_format()
865 mp3_cfg->num_channels = mcfg->num_channels; in audioreach_set_compr_media_format()
868 mp3_cfg->channel_mapping[0] = PCM_CHANNEL_L; in audioreach_set_compr_media_format()
870 mp3_cfg->channel_mapping[0] = PCM_CHANNEL_L; in audioreach_set_compr_media_format()
871 mp3_cfg->channel_mapping[1] = PCM_CHANNEL_R; in audioreach_set_compr_media_format()