Home
last modified time | relevance | path

Searched refs:vlf (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/audioflinger/
DFastMixer.cpp381 float vlf = float_from_gain(gain_minifloat_unpack_left(vlr)); in onWork() local
384 mMixer->setParameter(name, AudioMixer::VOLUME, AudioMixer::VOLUME0, &vlf); in onWork()
DThreads.cpp4309 float vlf, vrf, vaf; // in [0.0, 1.0] float format in prepareTracks_l() local
4316 vlf = vrf = vaf = 0.; in prepareTracks_l()
4323 vlf = float_from_gain(gain_minifloat_unpack_left(vlr)); in prepareTracks_l()
4326 if (vlf > GAIN_FLOAT_UNITY) { in prepareTracks_l()
4327 ALOGV("Track left volume out of range: %.3g", vlf); in prepareTracks_l()
4328 vlf = GAIN_FLOAT_UNITY; in prepareTracks_l()
4337 vlf *= v * vh; in prepareTracks_l()
4342 vl = (uint32_t) (scaleto8_24 * vlf); in prepareTracks_l()
4360 vlf = (float)vl / (1 << 24); in prepareTracks_l()
4386 vlf = min(1.0f, vlf / v); in prepareTracks_l()
[all …]