Lines Matching refs:mAudioPatch

155                 const struct audio_patch &oldPatch = removedPatch.mAudioPatch;  in createAudioPatch_l()
355 if (iter.second.mAudioPatch.sinks[0].ext.mix.handle == thread->id()) { in createAudioPatch_l()
421 newPatch.mAudioPatch, p.second.mAudioPatch)) { in createAudioPatch_l()
443 if (iter.second.mAudioPatch.sources[0].ext.mix.handle == thread->id() && in createAudioPatch_l()
475 addSoftwarePatchToInsertedModules_l(insertedModule, *handle, &newPatch.mAudioPatch); in createAudioPatch_l()
512 PatchBuilder().addSource(mAudioPatch.sources[0]). in createConnections_l()
522 if (mAudioPatch.num_sinks != 0) { in createConnections_l()
524 PatchBuilder().addSource(mPlayback.thread()).addSink(mAudioPatch.sinks[0]).patch(), in createConnections_l()
548 audio_input_flags_t inputFlags = mAudioPatch.sources[0].config_mask & AUDIO_PORT_CONFIG_FLAGS ? in createConnections_l()
549 mAudioPatch.sources[0].flags.input : AUDIO_INPUT_FLAG_NONE; in createConnections_l()
562 audio_output_flags_t outputFlags = mAudioPatch.sinks[0].config_mask & AUDIO_PORT_CONFIG_FLAGS ? in createConnections_l()
563 mAudioPatch.sinks[0].flags.output : AUDIO_OUTPUT_FLAG_NONE; in createConnections_l()
566 if (mAudioPatch.num_sources == 2 && mAudioPatch.sources[1].type == AUDIO_PORT_TYPE_MIX) { in createConnections_l()
568 streamType = mAudioPatch.sources[1].ext.mix.usecase.stream; in createConnections_l()
636 const bool isFmBridge = mAudioPatch.sources[0].ext.device.type == AUDIO_DEVICE_IN_FM_TUNER; in createConnections_l()
751 mAudioPatch.num_sinks > 0 && mAudioPatch.sinks[0].type == AUDIO_PORT_TYPE_DEVICE; in dump()
753 mAudioPatch.num_sources > 0 && mAudioPatch.sources[0].type == AUDIO_PORT_TYPE_DEVICE; in dump()
757 hasSinkDevice ? mAudioPatch.num_sinks : in dump()
758 (hasSourceDevice ? mAudioPatch.num_sources : 0), in dump()
759 hasSinkDevice ? mAudioPatch.sinks[0].ext.device.type : in dump()
760 (hasSourceDevice ? mAudioPatch.sources[0].ext.device.type : 0)); in dump()
787 const struct audio_patch &patch = removedPatch.mAudioPatch; in releaseAudioPatch_l()
918 *patch = iter->second.mAudioPatch; in notifyStreamOpened()