Searched refs:vlf (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/services/audioflinger/ |
D | FastMixer.cpp | 173 float vlf, vrf; in updateMixerTrack() local 176 vlf = float_from_gain(gain_minifloat_unpack_left(vlr)); in updateMixerTrack() 179 vlf = vrf = AudioMixer::UNITY_GAIN_FLOAT; in updateMixerTrack() 185 mMixer->setParameter(index, AudioMixer::VOLUME, AudioMixer::VOLUME0, &vlf); in updateMixerTrack() 405 float vlf = float_from_gain(gain_minifloat_unpack_left(vlr)); in onWork() local 408 mMixer->setParameter(name, AudioMixer::RAMP_VOLUME, AudioMixer::VOLUME0, &vlf); in onWork()
|
D | Threads.cpp | 4775 float vlf = volume * float_from_gain(gain_minifloat_unpack_left(vlr)); in prepareTracks_l() local 4777 track->setFinalVolume((vlf + vrf) / 2.f); in prepareTracks_l() 4917 float vlf, vrf, vaf; // in [0.0, 1.0] float format in prepareTracks_l() local 4929 vlf = vrf = vaf = 0.; in prepareTracks_l() 4935 vlf = float_from_gain(gain_minifloat_unpack_left(vlr)); in prepareTracks_l() 4938 if (vlf > GAIN_FLOAT_UNITY) { in prepareTracks_l() 4939 ALOGV("Track left volume out of range: %.3g", vlf); in prepareTracks_l() 4940 vlf = GAIN_FLOAT_UNITY; in prepareTracks_l() 4947 vlf *= v * vh; in prepareTracks_l() 4952 vl = (uint32_t) (scaleto8_24 * vlf); in prepareTracks_l() [all …]
|