Searched refs:sourceDesc (Results 1 – 2 of 2) sorted by relevance
3372 const sp<SourceClientDescriptor>& sourceDesc) in createAudioPatchInternal() argument3579 (sourceDesc != nullptr && in createAudioPatchInternal()3586 if (sourceDesc != nullptr) { in createAudioPatchInternal()3588 audio_attributes_t attributes = sourceDesc->attributes(); in createAudioPatchInternal()3589 audio_stream_type_t stream = sourceDesc->stream(); in createAudioPatchInternal()3592 config.sample_rate = sourceDesc->config().sample_rate; in createAudioPatchInternal()3593 config.channel_mask = sourceDesc->config().channel_mask; in createAudioPatchInternal()3594 config.format = sourceDesc->config().format; in createAudioPatchInternal()3600 &stream, sourceDesc->uid(), &config, &flags, in createAudioPatchInternal()3625 if (sourceDesc != nullptr) { in createAudioPatchInternal()[all …]
695 status_t connectAudioSource(const sp<SourceClientDescriptor>& sourceDesc);696 status_t disconnectAudioSource(const sp<SourceClientDescriptor>& sourceDesc);895 const sp<SourceClientDescriptor>& sourceDesc = nullptr);