Home
last modified time | relevance | path

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

/device/generic/goldfish/audio/
Daudio_ops.cpp29 constexpr int_fast32_t kDenominator = 32768; in multiplyByVolume() local
31 static_cast<int_fast32_t>(round(volume * kDenominator)); in multiplyByVolume()
33 if (numerator >= kDenominator) { in multiplyByVolume()
46 *a = (*a * numerator + kDenominator / 2) / kDenominator; \ in multiplyByVolume()