Lines Matching refs:mAudioPatch
134 patch.mAudioPatch.num_sinks > 0 ? patch.mAudioPatch.sinks[0].ext.device.type : 0); in onCreateAudioPatch()
135 if (patch.mAudioPatch.num_sources == 0 in onCreateAudioPatch()
136 || patch.mAudioPatch.sources[0].type != AUDIO_PORT_TYPE_MIX) { in onCreateAudioPatch()
141 audio_io_handle_t streamHandle = patch.mAudioPatch.sources[0].ext.mix.handle; in onCreateAudioPatch()
145 for (size_t i = 0; i < patch.mAudioPatch.num_sinks; ++i) { in onCreateAudioPatch()
146 if (patch.mAudioPatch.sinks[i].type == AUDIO_PORT_TYPE_DEVICE && in onCreateAudioPatch()
148 patch.mAudioPatch.sinks[i].ext.device.type)) { in onCreateAudioPatch()
149 audio_port_handle_t deviceId = patch.mAudioPatch.sinks[i].id; in onCreateAudioPatch()
151 patch.mAudioPatch.sinks[i].ext.device.type, in onCreateAudioPatch()
152 patch.mAudioPatch.sinks[i].ext.device.address); in onCreateAudioPatch()
155 AudioDeviceTypeAddr adt{patch.mAudioPatch.sinks[i].ext.device.type, in onCreateAudioPatch()
156 patch.mAudioPatch.sinks[i].ext.device.address}; in onCreateAudioPatch()