Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DAudioMixer.h34 #define MAX_GAIN_INT AudioMixer::UNITY_GAIN_INT
60 static const uint16_t UNITY_GAIN_INT = 0x1000; variable
DAudioMixer.cpp451 t->volume[0] = UNITY_GAIN_INT; in getTrackName()
452 t->volume[1] = UNITY_GAIN_INT; in getTrackName()
453 t->prevVolume[0] = UNITY_GAIN_INT << 16; in getTrackName()
454 t->prevVolume[1] = UNITY_GAIN_INT << 16; in getTrackName()
765 int32_t intVolume = newVolume * AudioMixer::UNITY_GAIN_INT; in setVolumeRampVariables()
766 if (intVolume > AudioMixer::UNITY_GAIN_INT) { in setVolumeRampVariables()
767 intVolume = AudioMixer::UNITY_GAIN_INT; in setVolumeRampVariables()
1781 if (CC_UNLIKELY(uint32_t(vl) > UNITY_GAIN_INT || uint32_t(vr) > UNITY_GAIN_INT)) { in process__OneTrack16BitsStereoNoResampling()