Home
last modified time | relevance | path

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

/frameworks/base/libs/audioflinger/
DAudioMixer.cpp205 track.prevVolume[name-VOLUME0] = track.volume[name-VOLUME0] << 16; in setParameter()
208 track.prevVolume[name-VOLUME0] = value << 16; in setParameter()
211 int32_t d = (value<<16) - track.prevVolume[name-VOLUME0]; in setParameter()
215 track.prevVolume[name-VOLUME0] = value << 16; in setParameter()
251 if (((volumeInc[i]>0) && (((prevVolume[i]+volumeInc[i])>>16) >= volume[i])) || in adjustVolumeRamp()
252 ((volumeInc[i]<0) && (((prevVolume[i]+volumeInc[i])>>16) <= volume[i]))) { in adjustVolumeRamp()
254 prevVolume[i] = volume[i]<<16; in adjustVolumeRamp()
509 int32_t vl = t->prevVolume[0]; in volumeRampStereo()
510 int32_t vr = t->prevVolume[1]; in volumeRampStereo()
526 t->prevVolume[0] = vl; in volumeRampStereo()
[all …]
DAudioMixer.h131 int32_t prevVolume[2]; member