Searched refs:volumeShift (Results 1 - 1 of 1) sorted by relevance

/frameworks/av/media/libaudioprocessing/tests/
H A Dtest-resampler.cpp478 const int volumeShift = 12; // shift requirement for Q4.27 to Q.15 local
480 const int roundVal = (1<<(volumeShift-1)) - 1; // volumePrecision > 0
486 s = (s + 1) >> volumeShift; // round to 0
491 s = s >> volumeShift;

Completed in 418 milliseconds