Searched refs:sourceDesc (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 5096 sp<SourceClientDescriptor> sourceDesc = in createAudioPatch() local 5101 sourceDesc->setPreferredDeviceId(sinkDevice->getId()); in createAudioPatch() 5104 connectAudioSourceToSink(sourceDesc, sinkDevice, patch, *handle, uid, 0 /* delayMs */); in createAudioPatch() 5109 mAudioSources.add(portId, sourceDesc); in createAudioPatch() 5114 const sp<SourceClientDescriptor>& sourceDesc, const sp<DeviceDescriptor> &sinkDevice, in connectAudioSourceToSink() argument 5119 status_t status = createAudioPatchInternal(patch, &handle, uid, delayMs, sourceDesc); in connectAudioSourceToSink() 5124 sourceDesc->connect(handle, sinkDevice); in connectAudioSourceToSink() 5129 sp<SwAudioOutputDescriptor> swOutput = sourceDesc->swOutput().promote(); in connectAudioSourceToSink() 5131 if (swOutput->getClient(sourceDesc->portId()) != nullptr) { in connectAudioSourceToSink() 5139 swOutput->addClient(sourceDesc); in connectAudioSourceToSink() [all …]
|
D | AudioPolicyManager.h | 932 status_t connectAudioSource(const sp<SourceClientDescriptor>& sourceDesc, 934 status_t disconnectAudioSource(const sp<SourceClientDescriptor>& sourceDesc); 936 status_t connectAudioSourceToSink(const sp<SourceClientDescriptor>& sourceDesc, 1265 const sp<SourceClientDescriptor>& sourceDesc); 1276 const sp<SourceClientDescriptor>& sourceDesc = nullptr);
|