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

/frameworks/av/services/audioflinger/
H A Dtest-resample.cpp472 const int volumeShift = 12; // shift requirement for Q4.27 to Q.15 local
474 const int roundVal = (1<<(volumeShift-1)) - 1; // volumePrecision > 0
480 s = (s + 1) >> volumeShift; // round to 0
485 s = s >> volumeShift;

Completed in 152 milliseconds