Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Control.c246 LVM_UINT16 dBShifts; /* 6dB shifts */ in LVDBE_SetVolume() local
276 dBShifts = (LVM_UINT16)(Volume / -6); /* Get the 6dB shifts */ in LVDBE_SetVolume()
279 dBShifts_fac = (LVM_FLOAT)(1 << dBShifts); in LVDBE_SetVolume()
286 pInstance->pData->AGCInstance.Target = pInstance->pData->AGCInstance.Target >> dBShifts; in LVDBE_SetVolume()
299 if(dBShifts > 0) in LVDBE_SetVolume()
302 …stance->pData->BypassVolume.MixerStream[0],(((LVM_INT32)LVDBE_VolumeTable[dBOffset]) >> dBShifts)); in LVDBE_SetVolume()
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Control.c383 LVM_UINT16 dBShifts; /* 6dB shifts */ in LVM_SetVolume() local
440 dBShifts = (LVM_UINT16)(Volume / -6); /* Get the 6dB shifts */ in LVM_SetVolume()
446 if(dBShifts == 0) in LVM_SetVolume()
460 while(dBShifts) { in LVM_SetVolume()
462 dBShifts--; in LVM_SetVolume()
467 (((LVM_INT32)LVM_VolumeTable[dBOffset])>>dBShifts)); in LVM_SetVolume()