Home
last modified time | relevance | path

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

/frameworks/av/media/libaudiohal/impl/
DEffectConversionHelperAidl.cpp367 constexpr uint32_t unityGain = 1 << 24; in handleSetVolume() local
372 {.left = (float)vl / unityGain, .right = (float)vr / unityGain}))))); in handleSetVolume()
384 vl = (uint32_t)(appliedVolume.left * unityGain); in handleSetVolume()
385 vr = (uint32_t)(appliedVolume.right * unityGain); in handleSetVolume()
/frameworks/av/media/libeffects/dynamicsproc/
DEffectDynamicsProcessing.cpp565 const int32_t unityGain = 1 << 24; in DP_command() local
584 const float gain = (float)*((uint32_t *)pCmdData + offset) / unityGain; in DP_command()
591 const int32_t volRet[2] = {unityGain, unityGain}; // Apply no volume before effect. in DP_command()