Searched refs:vlf (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/services/audioflinger/ |
D | FastMixer.cpp | 169 float vlf, vrf; in updateMixerTrack() local 172 vlf = float_from_gain(gain_minifloat_unpack_left(vlr)); in updateMixerTrack() 175 vlf = vrf = AudioMixer::UNITY_GAIN_FLOAT; in updateMixerTrack() 181 mMixer->setParameter(index, AudioMixer::VOLUME, AudioMixer::VOLUME0, &vlf); in updateMixerTrack() 401 float vlf = float_from_gain(gain_minifloat_unpack_left(vlr)); in onWork() local 404 mMixer->setParameter(name, AudioMixer::RAMP_VOLUME, AudioMixer::VOLUME0, &vlf); in onWork()
|
D | Threads.cpp | 4874 float vlf = volume * float_from_gain(gain_minifloat_unpack_left(vlr)); in prepareTracks_l() local 4877 track->setFinalVolume((vlf + vrf) / 2.f); in prepareTracks_l() 5017 float vlf, vrf, vaf; // in [0.0, 1.0] float format in prepareTracks_l() local 5033 vlf = vrf = vaf = 0.; in prepareTracks_l() 5037 vlf = float_from_gain(gain_minifloat_unpack_left(vlr)); in prepareTracks_l() 5040 if (vlf > GAIN_FLOAT_UNITY) { in prepareTracks_l() 5041 ALOGV("Track left volume out of range: %.3g", vlf); in prepareTracks_l() 5042 vlf = GAIN_FLOAT_UNITY; in prepareTracks_l() 5049 vlf *= v * vh; in prepareTracks_l() 5054 vl = (uint32_t) (scaleto8_24 * vlf); in prepareTracks_l() [all …]
|