Home | History | Annotate | Download | only in audio

Lines Matching refs:newDevice

292     audio_devices_t newDevice = AUDIO_DEVICE_NONE;
344 newDevice = getNewDevice(mPrimaryOutput, false /*fromCache*/);
353 if (isStateInCall(oldState) && newDevice == AUDIO_DEVICE_NONE) {
354 newDevice = hwOutputDesc->device();
384 setOutputDevice(mPrimaryOutput, newDevice, force, delayMs);
468 audio_devices_t newDevice = getNewDevice(output, true /*fromCache*/);
469 setOutputDevice(output, newDevice, (newDevice != AUDIO_DEVICE_NONE));
470 if (forceVolumeReeval && (newDevice != AUDIO_DEVICE_NONE)) {
471 applyStreamVolumes(output, newDevice, 0, true);
478 audio_devices_t newDevice = getDeviceForInputSource(inputDesc->mInputSource);
479 if ((newDevice != AUDIO_DEVICE_NONE) && (newDevice != inputDesc->mDevice)) {
481 inputDesc->mDevice, newDevice, activeInput);
482 inputDesc->mDevice = newDevice;
484 param.addInt(String8(AudioParameter::keyRouting), (int)newDevice);
760 audio_devices_t newDevice = getNewDevice(output, false /*fromCache*/);
774 desc->device() != newDevice) {
785 uint32_t muteWaitMs = setOutputDevice(output, newDevice, force);
794 mStreams[stream].getVolumeIndex(newDevice),
796 newDevice);
833 audio_devices_t newDevice = getNewDevice(output, false /*fromCache*/);
839 setOutputDevice(output, newDevice, false, outputDesc->mLatency*2);
849 (newDevice != desc->device())) {
1020 audio_devices_t newDevice = getDeviceForInputSource(inputDesc->mInputSource);
1021 if ((newDevice != AUDIO_DEVICE_NONE) && (newDevice != inputDesc->mDevice)) {
1022 inputDesc->mDevice = newDevice;
2326 audio_devices_t newDevice = getDeviceForStrategy(strategy, false /*fromCache*/);
2328 SortedVector<audio_io_handle_t> dstOutputs = getOutputsForDevice(newDevice, mOutputs);
2338 setStrategyMute(strategy, false, srcOutputs[i], MUTE_TIME_MS, newDevice);