Lines Matching refs:patch

780                                                         const struct audio_patch *patch,
784 sp<ConfigEvent> configEvent = (ConfigEvent *)new CreateAudioPatchConfigEvent(*patch, *handle);
3452 status_t AudioFlinger::MixerThread::createAudioPatch_l(const struct audio_patch *patch,
3460 status = PlaybackThread::createAudioPatch_l(patch, handle);
3462 status = PlaybackThread::createAudioPatch_l(patch, handle);
3467 status_t AudioFlinger::PlaybackThread::createAudioPatch_l(const struct audio_patch *patch,
3474 for (unsigned int i = 0; i < patch->num_sinks; i++) {
3475 type |= patch->sinks[i].ext.device.type;
3506 // the thread is created so that the first patch creation triggers an ioConfigChanged callback
3509 mPatch = *patch;
3514 patch->num_sources,
3515 patch->sources,
3516 patch->num_sinks,
3517 patch->sinks,
3521 if (strcmp(patch->sinks[0].ext.device.address, "") != 0) {
3524 patch->sinks[0].ext.device.type,
3525 patch->sinks[0].ext.device.address);
7570 status_t AudioFlinger::RecordThread::createAudioPatch_l(const struct audio_patch *patch,
7576 mInDevice = patch->sources[0].ext.device.type;
7577 mPatch = *patch;
7595 if (mAudioSource != patch->sinks[0].ext.mix.usecase.source) {
7596 mAudioSource = patch->sinks[0].ext.mix.usecase.source;
7605 patch->num_sources,
7606 patch->sources,
7607 patch->num_sinks,
7608 patch->sinks,
7612 if (strcmp(patch->sources[0].ext.device.address, "") != 0) {
7614 patch->sources[0].ext.device.type,
7615 patch->sources[0].ext.device.address);
7622 (int)patch->sources[0].ext.device.type);
7624 (int)patch->sinks[0].ext.mix.usecase.source);