Home
last modified time | relevance | path

Searched refs:CurrentGain (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libeffects/lvm/lib/Common/src/
DLVC_Mixer_SetTarget.c51 LVM_INT32 CurrentGain; in LVC_Mixer_SetTarget() local
54 CurrentGain=pInstance->Current>>(16-pInstance->Shift); // CurrentGain in Q16.15 format in LVC_Mixer_SetTarget()
55 if(CurrentGain>MaxGain) in LVC_Mixer_SetTarget()
56 MaxGain=CurrentGain; // MaxGain=max(CurrentGain,TargetGain) in LVC_Mixer_SetTarget()
64 pInstance->Current=CurrentGain<<(16-Shift); // Update fractional gain Current in LVC_Mixer_SetTarget()
DLVC_Mixer_Init.c50 LVM_INT32 CurrentGain) in LVC_Mixer_Init() argument
55 if(CurrentGain>MaxGain) in LVC_Mixer_Init()
56 MaxGain=CurrentGain; // MaxGain=max(CurrentGain,TargetGain) in LVC_Mixer_Init()
64 pInstance->Current=CurrentGain<<(16-Shift); // Update fractional gain Current in LVC_Mixer_Init()
DLVC_Mixer_GetCurrent.c37 LVM_INT32 CurrentGain; in LVC_Mixer_GetCurrent() local
39 CurrentGain=pInstance->Current>>(16-pInstance->Shift); // CurrentGain in Q16.15 format in LVC_Mixer_GetCurrent()
40 return CurrentGain; in LVC_Mixer_GetCurrent()
DLVC_Mixer.h87 LVM_INT32 CurrentGain);