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

/frameworks/av/services/audioflinger/
H A DFastMixer.cpp375 float vrf = float_from_gain(gain_minifloat_unpack_right(vlr)); local
378 mMixer->setParameter(name, AudioMixer::VOLUME, AudioMixer::VOLUME1, &vrf);
H A DThreads.cpp4119 float vlf, vrf, vaf; // in [0.0, 1.0] float format local
4122 vlf = vrf = vaf = 0.;
4134 vrf = float_from_gain(gain_minifloat_unpack_right(vlr));
4140 if (vrf > GAIN_FLOAT_UNITY) {
4141 ALOGV("Track right volume out of range: %.3g", vrf);
4142 vrf = GAIN_FLOAT_UNITY;
4146 vrf *= v;
4151 vr = (uint32_t) (scaleto8_24 * vrf);
4169 vrf = (float)vr / (1 << 24);
4185 mAudioMixer->setParameter(name, param, AudioMixer::VOLUME1, &vrf);
[all...]

Completed in 3682 milliseconds