Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DFastMixer.cpp374 float vlf = float_from_gain(gain_minifloat_unpack_left(vlr)); in onWork() local
377 mMixer->setParameter(name, AudioMixer::VOLUME, AudioMixer::VOLUME0, &vlf); in onWork()
DThreads.cpp4314 float vlf, vrf, vaf; // in [0.0, 1.0] float format in prepareTracks_l() local
4317 vlf = vrf = vaf = 0.; in prepareTracks_l()
4328 vlf = float_from_gain(gain_minifloat_unpack_left(vlr)); in prepareTracks_l()
4331 if (vlf > GAIN_FLOAT_UNITY) { in prepareTracks_l()
4332 ALOGV("Track left volume out of range: %.3g", vlf); in prepareTracks_l()
4333 vlf = GAIN_FLOAT_UNITY; in prepareTracks_l()
4340 vlf *= v; in prepareTracks_l()
4345 vl = (uint32_t) (scaleto8_24 * vlf); in prepareTracks_l()
4363 vlf = (float)vl / (1 << 24); in prepareTracks_l()
4379 mAudioMixer->setParameter(name, param, AudioMixer::VOLUME0, &vlf); in prepareTracks_l()