Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DAudioMixer.cpp179 t->prevVolume[0] = UNITY_GAIN_INT << 16; in getTrackName()
180 t->prevVolume[1] = UNITY_GAIN_INT << 16; in getTrackName()
715 &track.volume[param - VOLUME0], &track.prevVolume[param - VOLUME0], in setParameter()
838 prevVolume[i] = volume[i] << 16; in adjustVolumeRamp()
843 prevVolume[i] = u4_28_from_float(mPrevVolume[i]); in adjustVolumeRamp()
848 if (((volumeInc[i]>0) && (((prevVolume[i]+volumeInc[i])>>16) >= volume[i])) || in adjustVolumeRamp()
849 ((volumeInc[i]<0) && (((prevVolume[i]+volumeInc[i])>>16) <= volume[i]))) { in adjustVolumeRamp()
851 prevVolume[i] = volume[i] << 16; in adjustVolumeRamp()
856 mPrevVolume[i] = float_from_u4_28(prevVolume[i]); in adjustVolumeRamp()
1117 int32_t vl = t->prevVolume[0]; in volumeRampStereo()
[all …]
DAudioMixer.h182 int32_t prevVolume[MAX_NUM_VOLUMES]; member