Home
last modified time | relevance | path

Searched refs:scaledVolume (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/audioflinger/
DAudioMixer.cpp572 const float scaledVolume = newVolume * AudioMixer::UNITY_GAIN_INT; // not neg, subnormal, nan in setVolumeRampVariables() local
573 const int32_t intVolume = (scaledVolume >= (float)AudioMixer::UNITY_GAIN_INT) ? in setVolumeRampVariables()
574 AudioMixer::UNITY_GAIN_INT : (int32_t)scaledVolume; in setVolumeRampVariables()
/frameworks/base/media/java/android/media/
DMediaRouter.java2491 final float scaledVolume = (float) volume / maxVol; in requestSetVolume() local
2495 final int routeVol = (int) (scaledVolume * route.getVolumeMax()); in requestSetVolume()