Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DFastMixer.cpp357 float vlf = float_from_gain(gain_minifloat_unpack_left(vlr)); in onWork() local
360 mixer->setParameter(name, AudioMixer::VOLUME, AudioMixer::VOLUME0, &vlf); in onWork()
DThreads.cpp3453 float vlf, vrf, vaf; // in [0.0, 1.0] float format in prepareTracks_l() local
3456 vlf = vrf = vaf = 0.; in prepareTracks_l()
3467 vlf = float_from_gain(gain_minifloat_unpack_left(vlr)); in prepareTracks_l()
3470 if (vlf > GAIN_FLOAT_UNITY) { in prepareTracks_l()
3471 ALOGV("Track left volume out of range: %.3g", vlf); in prepareTracks_l()
3472 vlf = GAIN_FLOAT_UNITY; in prepareTracks_l()
3479 vlf *= v; in prepareTracks_l()
3484 vl = (uint32_t) (scaleto8_24 * vlf); in prepareTracks_l()
3502 vlf = (float)vl / (1 << 24); in prepareTracks_l()
3518 mAudioMixer->setParameter(name, param, AudioMixer::VOLUME0, &vlf); in prepareTracks_l()