Searched refs:swOutput (Results 1 – 3 of 3) sorted by relevance
237 bool belongsToOutput(const sp<SwAudioOutputDescriptor> &swOutput) const { in belongsToOutput() argument238 return swOutput != nullptr && mSwOutput.promote() == swOutput; in belongsToOutput()247 wp<SwAudioOutputDescriptor> swOutput() const { return mSwOutput; } in swOutput() function248 void setSwOutput(const sp<SwAudioOutputDescriptor>& swOutput, bool closeOutput = false);
109 const sp<SwAudioOutputDescriptor>& swOutput, bool closeOutput) in setSwOutput() argument111 mSwOutput = swOutput; in setSwOutput()
4328 sp<SwAudioOutputDescriptor> swOutput = sourceDesc->swOutput().promote(); in connectAudioSourceToSink() local4329 ALOG_ASSERT(swOutput != nullptr, "%s: a swOutput shall always be associated", __func__); in connectAudioSourceToSink()4330 if (swOutput->getClient(sourceDesc->portId()) != nullptr) { in connectAudioSourceToSink()4334 status = swOutput->start(); in connectAudioSourceToSink()4338 swOutput->addClient(sourceDesc); in connectAudioSourceToSink()4339 status = startSource(swOutput, sourceDesc, &delayMs); in connectAudioSourceToSink()4350 swOutput->stop(); in connectAudioSourceToSink()4724 outputDesc = sourceDesc->swOutput().promote(); in releaseAudioPatchInternal()5343 sp<SwAudioOutputDescriptor> swOutput = sourceDesc->swOutput().promote(); in disconnectAudioSource() local5344 if (swOutput != 0) { in disconnectAudioSource()[all …]