Searched refs:swOutput (Results 1 – 3 of 3) sorted by relevance
253 bool belongsToOutput(const sp<SwAudioOutputDescriptor> &swOutput) const { in belongsToOutput() argument254 return swOutput != nullptr && mSwOutput.promote() == swOutput; in belongsToOutput()263 wp<SwAudioOutputDescriptor> swOutput() const { return mSwOutput; } in swOutput() function264 void setSwOutput(const sp<SwAudioOutputDescriptor>& swOutput, bool closeOutput = false);
111 const sp<SwAudioOutputDescriptor>& swOutput, bool closeOutput) in setSwOutput() argument113 mSwOutput = swOutput; in setSwOutput()
5129 sp<SwAudioOutputDescriptor> swOutput = sourceDesc->swOutput().promote(); in connectAudioSourceToSink() local5130 ALOG_ASSERT(swOutput != nullptr, "%s: a swOutput shall always be associated", __func__); in connectAudioSourceToSink()5131 if (swOutput->getClient(sourceDesc->portId()) != nullptr) { in connectAudioSourceToSink()5135 status = swOutput->start(); in connectAudioSourceToSink()5139 swOutput->addClient(sourceDesc); in connectAudioSourceToSink()5140 status = startSource(swOutput, sourceDesc, &delayMs); in connectAudioSourceToSink()5151 swOutput->stop(); in connectAudioSourceToSink()5532 outputDesc = sourceDesc->swOutput().promote(); in releaseAudioPatchInternal()6170 sp<SwAudioOutputDescriptor> swOutput = sourceDesc->swOutput().promote(); in disconnectAudioSource() local6171 if (swOutput != 0) { in disconnectAudioSource()[all …]