Searched refs:unityGain (Results 1 – 2 of 2) sorted by relevance
367 constexpr uint32_t unityGain = 1 << 24; in handleSetVolume() local372 {.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()
565 const int32_t unityGain = 1 << 24; in DP_command() local584 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()