Searched refs:VOLUME_SHIFT (Results 1 – 2 of 2) sorted by relevance
25 static const uint32_t VOLUME_SHIFT = 16; variable26 static constexpr int32_t INT32_VOLUME_MAX = 1 << VOLUME_SHIFT; // 1 << 16 = 65536, max volume
156 temp = (temp * vol) >> VOLUME_SHIFT; in ProcessOneFrame()162 temp = (*raw16 * static_cast<int64_t>(vol)) >> VOLUME_SHIFT; in ProcessOneFrame()166 … static_cast<int32_t>(ReadInt24LE(ptr) << INT24_SHIFT) * static_cast<int64_t>(vol) >> VOLUME_SHIFT; in ProcessOneFrame()172 temp = (*raw32 * static_cast<int64_t>(vol)) >> VOLUME_SHIFT; in ProcessOneFrame()