Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DFastMixer.cpp365 float vrf = float_from_gain(gain_minifloat_unpack_right(vlr)); in onWork() local
368 mMixer->setParameter(name, AudioMixer::VOLUME, AudioMixer::VOLUME1, &vrf); in onWork()
DThreads.cpp3936 float vlf, vrf, vaf; // in [0.0, 1.0] float format in prepareTracks_l() local
3939 vlf = vrf = vaf = 0.; in prepareTracks_l()
3951 vrf = float_from_gain(gain_minifloat_unpack_right(vlr)); in prepareTracks_l()
3957 if (vrf > GAIN_FLOAT_UNITY) { in prepareTracks_l()
3958 ALOGV("Track right volume out of range: %.3g", vrf); in prepareTracks_l()
3959 vrf = GAIN_FLOAT_UNITY; in prepareTracks_l()
3963 vrf *= v; in prepareTracks_l()
3968 vr = (uint32_t) (scaleto8_24 * vrf); in prepareTracks_l()
3986 vrf = (float)vr / (1 << 24); in prepareTracks_l()
4002 mAudioMixer->setParameter(name, param, AudioMixer::VOLUME1, &vrf); in prepareTracks_l()