Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DAudioMixer.h36 #define MAX_GAIN_INT AudioMixer::UNITY_GAIN_INT
62 static const uint16_t UNITY_GAIN_INT = 0x1000; variable
DAudioMixer.cpp177 t->volume[0] = UNITY_GAIN_INT; in getTrackName()
178 t->volume[1] = UNITY_GAIN_INT; in getTrackName()
179 t->prevVolume[0] = UNITY_GAIN_INT << 16; in getTrackName()
180 t->prevVolume[1] = UNITY_GAIN_INT << 16; in getTrackName()
572 const float scaledVolume = newVolume * AudioMixer::UNITY_GAIN_INT; // not neg, subnormal, nan in setVolumeRampVariables()
573 const int32_t intVolume = (scaledVolume >= (float)AudioMixer::UNITY_GAIN_INT) ? in setVolumeRampVariables()
574 AudioMixer::UNITY_GAIN_INT : (int32_t)scaledVolume; in setVolumeRampVariables()
1638 if (CC_UNLIKELY(uint32_t(vl) > UNITY_GAIN_INT || uint32_t(vr) > UNITY_GAIN_INT)) { in process__OneTrack16BitsStereoNoResampling()