Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
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()
Dtest-resample.cpp385 resampler->setVolume(AudioResampler::UNITY_GAIN_FLOAT, AudioResampler::UNITY_GAIN_FLOAT); in main()
435 resampler->setVolume(AudioResampler::UNITY_GAIN_FLOAT, AudioResampler::UNITY_GAIN_FLOAT); in main()
DAudioMixer.cpp188 t->mVolume[0] = UNITY_GAIN_FLOAT; in getTrackName()
189 t->mVolume[1] = UNITY_GAIN_FLOAT; in getTrackName()
190 t->mPrevVolume[0] = UNITY_GAIN_FLOAT; in getTrackName()
191 t->mPrevVolume[1] = UNITY_GAIN_FLOAT; in getTrackName()
531 newVolume = AudioMixer::UNITY_GAIN_FLOAT; in setVolumeRampVariables()
539 if (newVolume > AudioMixer::UNITY_GAIN_FLOAT) { in setVolumeRampVariables()
540 newVolume = AudioMixer::UNITY_GAIN_FLOAT; in setVolumeRampVariables()
1085 t->resampler->setVolume(UNITY_GAIN_FLOAT, UNITY_GAIN_FLOAT); in track__genericResample()
1095 t->resampler->setVolume(UNITY_GAIN_FLOAT, UNITY_GAIN_FLOAT); in track__genericResample()
1880 t->resampler->setVolume(UNITY_GAIN_FLOAT, UNITY_GAIN_FLOAT); in track__Resample()
DAudioMixer.h63 static const CONSTEXPR float UNITY_GAIN_FLOAT = 1.0f; variable
DFastMixer.cpp303 float f = AudioMixer::UNITY_GAIN_FLOAT; in onStateChange()
DThreads.cpp7126 mResampler->setVolume(AudioMixer::UNITY_GAIN_FLOAT, AudioMixer::UNITY_GAIN_FLOAT); in updateParameters()
/frameworks/av/services/audioflinger/tests/
Dresampler_tests.cpp100 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testBufferIncrement()
101 android::AudioResampler::UNITY_GAIN_FLOAT); in testBufferIncrement()
118 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testBufferIncrement()
119 android::AudioResampler::UNITY_GAIN_FLOAT); in testBufferIncrement()
188 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testStopbandDownconversion()
189 android::AudioResampler::UNITY_GAIN_FLOAT); in testStopbandDownconversion()
Dtest-mixer.cpp242 float f = AudioMixer::UNITY_GAIN_FLOAT / providers.size(); // normalize volume by # tracks in main()