Home
last modified time | relevance | path

Searched refs:UNITY_GAIN_FLOAT (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/libaudioprocessing/include/media/
DAudioResampler.h52 static const CONSTEXPR float UNITY_GAIN_FLOAT = 1.0f; variable
148 if (volume > UNITY_GAIN_FLOAT) { in clampFloatVol()
149 return UNITY_GAIN_FLOAT; in clampFloatVol()
DAudioMixerBase.h52 static const CONSTEXPR float UNITY_GAIN_FLOAT = 1.0f; variable
/frameworks/av/media/libaudioprocessing/tests/
Dresampler_tests.cpp117 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testBufferIncrement()
118 android::AudioResampler::UNITY_GAIN_FLOAT); in testBufferIncrement()
135 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testBufferIncrement()
136 android::AudioResampler::UNITY_GAIN_FLOAT); in testBufferIncrement()
205 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testStopbandDownconversion()
206 android::AudioResampler::UNITY_GAIN_FLOAT); in testStopbandDownconversion()
Dtest-resampler.cpp386 resampler->setVolume(AudioResampler::UNITY_GAIN_FLOAT, AudioResampler::UNITY_GAIN_FLOAT); in main()
436 resampler->setVolume(AudioResampler::UNITY_GAIN_FLOAT, AudioResampler::UNITY_GAIN_FLOAT); in main()
Dtest-mixer.cpp238 float f = AudioMixer::UNITY_GAIN_FLOAT / providers.size(); // normalize volume by # tracks in main()
/frameworks/av/media/libaudioprocessing/
DRecordBufferConverter.cpp177 mResampler->setVolume(AudioMixer::UNITY_GAIN_FLOAT, AudioMixer::UNITY_GAIN_FLOAT); in updateParameters()
DAudioMixerBase.cpp272 newVolume = AudioMixerBase::UNITY_GAIN_FLOAT; in setVolumeRampVariables()
280 if (newVolume > AudioMixerBase::UNITY_GAIN_FLOAT) { in setVolumeRampVariables()
281 newVolume = AudioMixerBase::UNITY_GAIN_FLOAT; in setVolumeRampVariables()
765 mResampler->setVolume(UNITY_GAIN_FLOAT, UNITY_GAIN_FLOAT); in track__genericResample()
775 mResampler->setVolume(UNITY_GAIN_FLOAT, UNITY_GAIN_FLOAT); in track__genericResample()
1497 mResampler->setVolume(UNITY_GAIN_FLOAT, UNITY_GAIN_FLOAT); in track__Resample()
/frameworks/av/services/audioflinger/
DFastMixer.cpp184 vlf = vrf = AudioMixer::UNITY_GAIN_FLOAT; in updateMixerTrack()