Lines Matching refs:media_cfg
124 struct payload_pcm_output_format_cfg media_cfg; member
1053 struct payload_pcm_output_format_cfg *media_cfg; in audioreach_pcm_set_media_format() local
1081 cfg->header.payload_size = APM_PCM_OUT_FMT_CFG_PSIZE(media_cfg, num_channels); in audioreach_pcm_set_media_format()
1083 media_cfg = &cfg->media_cfg; in audioreach_pcm_set_media_format()
1084 media_cfg->alignment = PCM_LSB_ALIGNED; in audioreach_pcm_set_media_format()
1085 media_cfg->bit_width = mcfg->bit_width; in audioreach_pcm_set_media_format()
1086 media_cfg->endianness = PCM_LITTLE_ENDIAN; in audioreach_pcm_set_media_format()
1087 media_cfg->interleaved = module->interleave_type; in audioreach_pcm_set_media_format()
1088 media_cfg->num_channels = mcfg->num_channels; in audioreach_pcm_set_media_format()
1089 media_cfg->q_factor = mcfg->bit_width - 1; in audioreach_pcm_set_media_format()
1090 media_cfg->bits_per_sample = mcfg->bit_width; in audioreach_pcm_set_media_format()
1093 media_cfg->channel_mapping[0] = PCM_CHANNEL_L; in audioreach_pcm_set_media_format()
1095 media_cfg->channel_mapping[0] = PCM_CHANNEL_L; in audioreach_pcm_set_media_format()
1096 media_cfg->channel_mapping[1] = PCM_CHANNEL_R; in audioreach_pcm_set_media_format()