Home | History | Annotate | Download | only in audioflinger

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,
294 audio_config_t config = AUDIO_CONFIG_INITIALIZER;
298 config.sample_rate = patch->sources[0].sample_rate;
300 config.sample_rate = newPatch->mPlaybackThread->sampleRate();
303 config.channel_mask = patch->sources[0].channel_mask;
305 config.channel_mask =
309 config.format = patch->sources[0].format;
311 config.format = newPatch->mPlaybackThread->format();
316 &config,
323 newPatch->mRecordThread.get(), config.channel_mask);
672 status_t AudioFlinger::PatchPanel::setAudioPortConfig(const struct audio_port_config *config)
682 if (config->type == AUDIO_PORT_TYPE_DEVICE) {
683 module = config->ext.device.hw_module;
685 module = config->ext.mix.hw_module;
695 return audioHwDevice->hwDevice()->setAudioPortConfig(config);