Lines Matching refs:swOutput
4000 sp<SwAudioOutputDescriptor> swOutput = sourceDesc->swOutput().promote(); in connectAudioSource() local
4001 if (swOutput != 0) { in connectAudioSource()
4002 status = swOutput->start(); in connectAudioSource()
4006 if (swOutput->getClient(sourceDesc->portId()) != nullptr) { in connectAudioSource()
4010 swOutput->addClient(sourceDesc); in connectAudioSource()
4012 status = startSource(swOutput, sourceDesc, &delayMs); in connectAudioSource()
4031 swOutput->stop(); in connectAudioSource()
4275 sp<SwAudioOutputDescriptor> swOutput = sourceDesc->swOutput().promote(); in disconnectAudioSource() local
4276 if (swOutput != 0) { in disconnectAudioSource()
4277 status_t status = stopSource(swOutput, sourceDesc); in disconnectAudioSource()
4279 swOutput->stop(); in disconnectAudioSource()
4299 sp<SwAudioOutputDescriptor> outputDesc = sourceDesc->swOutput().promote(); in getSourceForAttributesOnOutput()