Searched refs:sourceDesc (Results 1 – 2 of 2) sorted by relevance
3793 const sp<SourceClientDescriptor>& sourceDesc) in createAudioPatchInternal() argument4006 if (sourceDesc != nullptr) { in createAudioPatchInternal()4008 audio_attributes_t attributes = sourceDesc->attributes(); in createAudioPatchInternal()4009 audio_stream_type_t stream = sourceDesc->stream(); in createAudioPatchInternal()4012 config.sample_rate = sourceDesc->config().sample_rate; in createAudioPatchInternal()4013 config.channel_mask = sourceDesc->config().channel_mask; in createAudioPatchInternal()4014 config.format = sourceDesc->config().format; in createAudioPatchInternal()4020 &stream, sourceDesc->uid(), &config, &flags, in createAudioPatchInternal()4033 sourceDesc->setSwOutput(outputDesc); in createAudioPatchInternal()4044 (sourceDesc != nullptr && in createAudioPatchInternal()[all …]
778 status_t connectAudioSource(const sp<SourceClientDescriptor>& sourceDesc);779 status_t disconnectAudioSource(const sp<SourceClientDescriptor>& sourceDesc);1008 const sp<SourceClientDescriptor>& sourceDesc = nullptr);