Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DFastMixer.cpp177 float vlf, vrf; in updateMixerTrack() local
181 vrf = float_from_gain(gain_minifloat_unpack_right(vlr)); in updateMixerTrack()
183 vlf = vrf = AudioMixer::UNITY_GAIN_FLOAT; in updateMixerTrack()
190 mMixer->setParameter(index, AudioMixer::VOLUME, AudioMixer::VOLUME1, &vrf); in updateMixerTrack()
411 float vrf = float_from_gain(gain_minifloat_unpack_right(vlr)); in onWork() local
414 mMixer->setParameter(name, AudioMixer::RAMP_VOLUME, AudioMixer::VOLUME1, &vrf); in onWork()
DThreads.cpp5129 float vrf = volume * float_from_gain(gain_minifloat_unpack_right(vlr)); in prepareTracks_l() local
5131 track->setFinalVolume((vlf + vrf) / 2.f); in prepareTracks_l()
5271 float vlf, vrf, vaf; // in [0.0, 1.0] float format in prepareTracks_l() local
5287 vlf = vrf = vaf = 0.; in prepareTracks_l()
5292 vrf = float_from_gain(gain_minifloat_unpack_right(vlr)); in prepareTracks_l()
5298 if (vrf > GAIN_FLOAT_UNITY) { in prepareTracks_l()
5299 ALOGV("Track right volume out of range: %.3g", vrf); in prepareTracks_l()
5300 vrf = GAIN_FLOAT_UNITY; in prepareTracks_l()
5304 vrf *= v * vh; in prepareTracks_l()
5309 vr = (uint32_t) (scaleto8_24 * vrf); in prepareTracks_l()
[all …]