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

/frameworks/base/services/audioflinger/
H A DAudioFlinger.cpp1799 uint32_t v_clamped = (vl + (1 << 11)) >> 12; local
1800 if (v_clamped > MAX_GAIN_INT) v_clamped = MAX_GAIN_INT;
1801 left = int16_t(v_clamped);
1802 v_clamped = (vr + (1 << 11)) >> 12;
1803 if (v_clamped > MAX_GAIN_INT) v_clamped = MAX_GAIN_INT;
1804 right = int16_t(v_clamped);
2263 float v_clamped = v * cblk->volume[0]; local
2264 if (v_clamped > MAX_GAI
2297 uint32_t v_clamped = (vl + (1 << 11)) >> 12; local
[all...]

Completed in 30 milliseconds