Searched defs:vlf (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/services/audioflinger/
H A DFastMixer.cpp364 float vlf = float_from_gain(gain_minifloat_unpack_left(vlr)); local
367 mMixer->setParameter(name, AudioMixer::VOLUME, AudioMixer::VOLUME0, &vlf);
H A DThreads.cpp3936 float vlf, vrf, vaf; // in [0.0, 1.0] float format local
3939 vlf = vrf = vaf = 0.;
3950 vlf = float_from_gain(gain_minifloat_unpack_left(vlr));
3953 if (vlf > GAIN_FLOAT_UNITY) {
3954 ALOGV("Track left volume out of range: %.3g", vlf);
3955 vlf = GAIN_FLOAT_UNITY;
3962 vlf *= v;
3967 vl = (uint32_t) (scaleto8_24 * vlf);
3985 vlf = (float)vl / (1 << 24);
4001 mAudioMixer->setParameter(name, param, AudioMixer::VOLUME0, &vlf);
[all...]

Completed in 123 milliseconds