Lines Matching defs:config
103 status_t AudioFlinger::setAudioPortConfig(const struct audio_port_config *config)
107 return mPatchPanel->setAudioPortConfig(config);
273 audio_config_t config = AUDIO_CONFIG_INITIALIZER;
280 &config,
293 audio_config_t config = AUDIO_CONFIG_INITIALIZER;
297 config.sample_rate = patch->sources[0].sample_rate;
299 config.sample_rate = newPatch->mPlaybackThread->sampleRate();
302 config.channel_mask = patch->sources[0].channel_mask;
304 config.channel_mask =
308 config.format = patch->sources[0].format;
310 config.format = newPatch->mPlaybackThread->format();
315 &config,
321 newPatch->mRecordThread.get(), config.channel_mask);
667 status_t AudioFlinger::PatchPanel::setAudioPortConfig(const struct audio_port_config *config)
677 if (config->type == AUDIO_PORT_TYPE_DEVICE) {
678 module = config->ext.device.hw_module;
680 module = config->ext.mix.hw_module;
692 return hwDevice->set_audio_port_config(hwDevice, config);