Lines Matching refs:sources

158     // limit number of sources to 1 for now or 2 sources for special cross hw module case.
159 // only the audio policy manager can request a patch creation with 2 sources.
179 switch (patch->sources[0].type) {
181 audio_module_handle_t srcModule = patch->sources[0].ext.device.hw_module;
221 // special case num sources == 2 -=> reuse an exiting output mix to connect to the
224 if (patch->sources[1].type != AUDIO_PORT_TYPE_MIX ||
226 patch->sources[1].ext.mix.hw_module) {
233 audioflinger->checkPlaybackThread_l(patch->sources[1].ext.mix.handle);
260 audio_devices_t device = patch->sources[0].ext.device.type;
261 String8 address = String8(patch->sources[0].ext.device.address);
301 patch->sources,
316 if (strcmp(patch->sources[0].ext.device.address, "") != 0) {
318 patch->sources[0].ext.device.type,
319 patch->sources[0].ext.device.address);
326 (int)patch->sources[0].ext.device.type);
336 audio_module_handle_t srcModule = patch->sources[0].ext.mix.hw_module;
351 // limit to connections between sinks and sources on same HW module
359 audioflinger->checkPlaybackThread_l(patch->sources[0].ext.mix.handle);
362 patch->sources[0].ext.mix.handle);
414 subPatch.sources[0] = audioPatch->sources[0];
427 patch->mPlaybackThread->getAudioPortConfig(&subPatch.sources[0]);
538 // if num sources == 2 we are reusing an existing playback thread so we do not close it
571 switch (patch->sources[0].type) {
573 audio_module_handle_t srcModule = patch->sources[0].ext.device.hw_module;
620 audio_module_handle_t srcModule = patch->sources[0].ext.mix.hw_module;
628 audioflinger->checkPlaybackThread_l(patch->sources[0].ext.mix.handle);
631 patch->sources[0].ext.mix.handle);