Home
last modified time | relevance | path

Searched refs:sourceDesc (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp3777 sp<SourceClientDescriptor> sourceDesc = mAudioSources.valueAt(i); in clearAudioSources() local
3778 if (sourceDesc->uid() == uid) { in clearAudioSources()
3831 sp<SourceClientDescriptor> sourceDesc = in startAudioSource() local
3837 status_t status = connectAudioSource(sourceDesc); in startAudioSource()
3839 mAudioSources.add(*portId, sourceDesc); in startAudioSource()
3844 status_t AudioPolicyManager::connectAudioSource(const sp<SourceClientDescriptor>& sourceDesc) in connectAudioSource() argument
3846 ALOGV("%s handle %d", __FUNCTION__, sourceDesc->portId()); in connectAudioSource()
3849 disconnectAudioSource(sourceDesc); in connectAudioSource()
3851 audio_attributes_t attributes = sourceDesc->attributes(); in connectAudioSource()
3852 audio_stream_type_t stream = sourceDesc->stream(); in connectAudioSource()
[all …]
DAudioPolicyManager.h680 status_t connectAudioSource(const sp<SourceClientDescriptor>& sourceDesc);
681 status_t disconnectAudioSource(const sp<SourceClientDescriptor>& sourceDesc);