Lines Matching defs:config
84 audio_config_t config = AUDIO_CONFIG_INITIALIZER;
85 config.sample_rate = *pSamplingRate;
86 config.format = *pFormat;
87 config.channel_mask = *pChannelMask;
89 config.offload_info = *offloadInfo;
92 status_t status = af->openOutput(module, &output, &config, pDevices,
95 *pSamplingRate = config.sample_rate;
96 *pFormat = config.format;
97 *pChannelMask = config.channel_mask;
99 *((audio_offload_info_t *)offloadInfo) = config.offload_info;
198 audio_config_t config = AUDIO_CONFIG_INITIALIZER;;
199 config.sample_rate = *pSamplingRate;
200 config.format = *pFormat;
201 config.channel_mask = *pChannelMask;
203 status_t status = af->openInput(module, &input, &config, pDevices,
206 *pSamplingRate = config.sample_rate;
207 *pFormat = config.format;
208 *pChannelMask = config.channel_mask;