Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DFastMixer.cpp358 float vrf = float_from_gain(gain_minifloat_unpack_right(vlr)); in onWork() local
361 mixer->setParameter(name, AudioMixer::VOLUME, AudioMixer::VOLUME1, &vrf); 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()
3468 vrf = float_from_gain(gain_minifloat_unpack_right(vlr)); in prepareTracks_l()
3474 if (vrf > GAIN_FLOAT_UNITY) { in prepareTracks_l()
3475 ALOGV("Track right volume out of range: %.3g", vrf); in prepareTracks_l()
3476 vrf = GAIN_FLOAT_UNITY; in prepareTracks_l()
3480 vrf *= v; in prepareTracks_l()
3485 vr = (uint32_t) (scaleto8_24 * vrf); in prepareTracks_l()
3503 vrf = (float)vr / (1 << 24); in prepareTracks_l()
3519 mAudioMixer->setParameter(name, param, AudioMixer::VOLUME1, &vrf); in prepareTracks_l()