Lines Matching refs:newDevice

197             audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, false /*fromCache*/);
198 updateCallRouting(newDevice);
203 audio_devices_t newDevice = getNewOutputDevice(desc, true /*fromCache*/);
211 setOutputDevice(desc, newDevice, force, 0);
294 audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, false /*fromCache*/);
295 updateCallRouting(newDevice);
666 audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, true /*fromCache*/);
667 waitMs = updateCallRouting(newDevice, delayMs);
671 audio_devices_t newDevice = getNewOutputDevice(outputDesc, true /*fromCache*/);
673 waitMs = setOutputDevice(outputDesc, newDevice, (newDevice != AUDIO_DEVICE_NONE),
676 if (forceVolumeReeval && (newDevice != AUDIO_DEVICE_NONE)) {
677 applyStreamVolumes(outputDesc, newDevice, waitMs, true);
684 audio_devices_t newDevice = getNewInputDevice(activeDesc);
687 (newDevice & ~AUDIO_DEVICE_BIT_IN)) {
688 setInputDevice(activeDesc->mIoHandle, newDevice);
1182 audio_devices_t newDevice;
1189 newDevice = policyMix->mDeviceType;
1191 newDevice = AUDIO_DEVICE_OUT_REMOTE_SUBMIX;
1194 newDevice = getNewOutputDevice(outputDesc, false /*fromCache*/);
1197 newDevice = AUDIO_DEVICE_NONE;
1202 status_t status = startSource(outputDesc, stream, newDevice, address, &delayMs);
1210 if (audio_is_remote_submix_device(newDevice) && policyMix != NULL &&
1387 audio_devices_t newDevice = getNewOutputDevice(outputDesc, false /*fromCache*/);
1393 setOutputDevice(outputDesc, newDevice, false, outputDesc->latency()*2);
1403 (newDevice != desc->device())) {
3130 audio_devices_t newDevice = getNewOutputDevice(outputDesc, false /*fromCache*/);
3131 setOutputDevice(outputDesc, newDevice, false);
4461 audio_devices_t newDevice = getDeviceForStrategy(strategy, false /*fromCache*/);
4463 SortedVector<audio_io_handle_t> dstOutputs = getOutputsForDevice(newDevice, mOutputs);
4491 setStrategyMute(strategy, false, desc, MUTE_TIME_MS, newDevice);