Home | History | Annotate | Download | only in audio

Lines Matching refs:newDevice

291     audio_devices_t newDevice = AUDIO_DEVICE_NONE;
343 newDevice = getNewDevice(mPrimaryOutput, false /*fromCache*/);
352 if (isStateInCall(oldState) && newDevice == AUDIO_DEVICE_NONE) {
353 newDevice = hwOutputDesc->device();
383 setOutputDevice(mPrimaryOutput, newDevice, force, delayMs);
467 audio_devices_t newDevice = getNewDevice(output, true /*fromCache*/);
468 setOutputDevice(output, newDevice, (newDevice != AUDIO_DEVICE_NONE));
469 if (forceVolumeReeval && (newDevice != AUDIO_DEVICE_NONE)) {
470 applyStreamVolumes(output, newDevice, 0, true);
477 audio_devices_t newDevice = getDeviceForInputSource(inputDesc->mInputSource);
478 if ((newDevice != AUDIO_DEVICE_NONE) && (newDevice != inputDesc->mDevice)) {
480 inputDesc->mDevice, newDevice, activeInput);
481 inputDesc->mDevice = newDevice;
483 param.addInt(String8(AudioParameter::keyRouting), (int)newDevice);
759 audio_devices_t newDevice = getNewDevice(output, false /*fromCache*/);
773 desc->device() != newDevice) {
784 uint32_t muteWaitMs = setOutputDevice(output, newDevice, force);
793 mStreams[stream].getVolumeIndex(newDevice),
795 newDevice);
832 audio_devices_t newDevice = getNewDevice(output, false /*fromCache*/);
838 setOutputDevice(output, newDevice, false, outputDesc->mLatency*2);
848 (newDevice != desc->device())) {
1019 audio_devices_t newDevice = getDeviceForInputSource(inputDesc->mInputSource);
1020 if ((newDevice != AUDIO_DEVICE_NONE) && (newDevice != inputDesc->mDevice)) {
1021 inputDesc->mDevice = newDevice;
2325 audio_devices_t newDevice = getDeviceForStrategy(strategy, false /*fromCache*/);
2327 SortedVector<audio_io_handle_t> dstOutputs = getOutputsForDevice(newDevice, mOutputs);
2337 setStrategyMute(strategy, false, srcOutputs[i], MUTE_TIME_MS, newDevice);