Lines Matching refs:srcDeviceDesc
2578 sp<DeviceDescriptor> srcDeviceDesc = in createAudioPatch() local
2580 if (srcDeviceDesc == 0) { in createAudioPatch()
2587 srcDeviceDesc->toAudioPortConfig(&newPatch.sources[0], &patch->sources[0]); in createAudioPatch()
2605 if ((srcDeviceDesc->getModuleHandle() != sinkDeviceDesc->getModuleHandle()) || in createAudioPatch()
2606 (srcDeviceDesc->mModule->getHalVersion() < AUDIO_DEVICE_API_VERSION_3_0)) { in createAudioPatch()
2927 sp<DeviceDescriptor> srcDeviceDesc = in startAudioSource() local
2930 if (srcDeviceDesc == 0) { in startAudioSource()
2935 new AudioSourceDescriptor(srcDeviceDesc, attributes, uid); in startAudioSource()
2958 sp<DeviceDescriptor> srcDeviceDesc = sourceDesc->mDevice; in connectAudioSource() local
2967 if (srcDeviceDesc->getAudioPort()->mModule->getHandle() == in connectAudioSource()
2969 … srcDeviceDesc->getAudioPort()->mModule->getHalVersion() >= AUDIO_DEVICE_API_VERSION_3_0 && in connectAudioSource()
2970 srcDeviceDesc->getAudioPort()->mGains.size() > 0) { in connectAudioSource()
2994 srcDeviceDesc->toAudioPortConfig(&patch->sources[0], NULL); in connectAudioSource()