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.cpp4305 float vlf, vrf, vaf; // in [0.0, 1.0] float format in prepareTracks_l() local
4308 vlf = vrf = vaf = 0.; in prepareTracks_l()
4319 vlf = float_from_gain(gain_minifloat_unpack_left(vlr)); in prepareTracks_l()
4322 if (vlf > GAIN_FLOAT_UNITY) { in prepareTracks_l()
4323 ALOGV("Track left volume out of range: %.3g", vlf); in prepareTracks_l()
4324 vlf = GAIN_FLOAT_UNITY; in prepareTracks_l()
4333 vlf *= v * vh; in prepareTracks_l()
4338 vl = (uint32_t) (scaleto8_24 * vlf); in prepareTracks_l()
4356 vlf = (float)vl / (1 << 24); in prepareTracks_l()
4372 mAudioMixer->setParameter(name, param, AudioMixer::VOLUME0, &vlf); in prepareTracks_l()