Lines Matching refs:sources

531         rxSourceDeviceDesc->toAudioPortConfig(&patch.sources[0]);
544 outputDesc->toAudioPortConfig(&patch.sources[1]);
569 txSourceDeviceDesc->toAudioPortConfig(&patch.sources[0]);
587 outputDesc->toAudioPortConfig(&patch.sources[1]);
2562 ALOGV("createAudioPatch() num sources %d num sinks %d", patch->num_sources, patch->num_sinks);
2573 if (patch->sources[0].role != AUDIO_PORT_ROLE_SOURCE) {
2585 ALOGV("createAudioPatch source id %d role %d type %d", patch->sources[0].id,
2586 patch->sources[0].role,
2587 patch->sources[0].type);
2607 if (patch->sources[0].type == AUDIO_PORT_TYPE_MIX) {
2608 sp<AudioOutputDescriptor> outputDesc = getOutputFromId(patch->sources[0].id);
2610 ALOGV("createAudioPatch() output not found for id %d", patch->sources[0].id);
2616 if (patchDesc->mPatch.sources[0].id != patch->sources[0].id) {
2618 patchDesc->mPatch.sources[0].id, patch->sources[0].id);
2639 patch->sources[0].sample_rate,
2641 patch->sources[0].format,
2642 patch->sources[0].channel_mask,
2670 } else if (patch->sources[0].type == AUDIO_PORT_TYPE_DEVICE) {
2687 mAvailableInputDevices.getDeviceFromId(patch->sources[0].id);
2723 if (patchDesc->mPatch.sources[0].id != patch->sources[0].id) {
2728 mAvailableInputDevices.getDeviceFromId(patch->sources[0].id);
2736 srcDeviceDesc->toAudioPortConfig(&newPatch.sources[0], &patch->sources[0]);
2769 outputDesc->toAudioPortConfig(&newPatch.sources[1], &patch->sources[0]);
2831 if (patch->sources[0].type == AUDIO_PORT_TYPE_MIX) {
2832 sp<AudioOutputDescriptor> outputDesc = getOutputFromId(patch->sources[0].id);
2834 ALOGV("releaseAudioPatch() output not found for id %d", patch->sources[0].id);
2843 } else if (patch->sources[0].type == AUDIO_PORT_TYPE_DEVICE) {
3013 patch->mPatch.sources[0].id, patch->mPatch.sinks[0].id);
4953 outputDesc->toAudioPortConfig(&patch.sources[0]);
5066 deviceList.itemAt(0)->toAudioPortConfig(&patch.sources[0]);
7753 snprintf(buffer, SIZE, "%*s- %d sources:\n", spaces, "", mPatch.num_sources);
7756 if (mPatch.sources[i].type == AUDIO_PORT_TYPE_DEVICE) {
7758 mPatch.sources[i].id, enumToString(sDeviceNameToEnumTable,
7760 mPatch.sources[i].ext.device.type));
7763 mPatch.sources[i].id, mPatch.sources[i].ext.mix.handle);