Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DAudioResampler.h50 static const float UNITY_GAIN_FLOAT = 1.0f; variable
148 if (volume > UNITY_GAIN_FLOAT) { in clampFloatVol()
149 return UNITY_GAIN_FLOAT; in clampFloatVol()
DAudioMixer.cpp462 t->mVolume[0] = UNITY_GAIN_FLOAT; in getTrackName()
463 t->mVolume[1] = UNITY_GAIN_FLOAT; in getTrackName()
464 t->mPrevVolume[0] = UNITY_GAIN_FLOAT; in getTrackName()
465 t->mPrevVolume[1] = UNITY_GAIN_FLOAT; in getTrackName()
1220 t->resampler->setVolume(UNITY_GAIN_FLOAT, UNITY_GAIN_FLOAT); in track__genericResample()
1230 t->resampler->setVolume(UNITY_GAIN_FLOAT, UNITY_GAIN_FLOAT); in track__genericResample()
2038 t->resampler->setVolume(UNITY_GAIN_FLOAT, UNITY_GAIN_FLOAT); in track__Resample()
Dtest-resample.cpp387 resampler->setVolume(AudioResampler::UNITY_GAIN_FLOAT, AudioResampler::UNITY_GAIN_FLOAT); in main()
DAudioMixer.h61 static const float UNITY_GAIN_FLOAT = 1.0f; variable
DFastMixer.cpp293 float f = AudioMixer::UNITY_GAIN_FLOAT; in onStateChange()
DTracks.cpp2018 mResampler->setVolume(AudioMixer::UNITY_GAIN_FLOAT, AudioMixer::UNITY_GAIN_FLOAT); in RecordTrack()
/frameworks/av/services/audioflinger/tests/
Dresampler_tests.cpp97 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testBufferIncrement()
98 android::AudioResampler::UNITY_GAIN_FLOAT); in testBufferIncrement()
115 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testBufferIncrement()
116 android::AudioResampler::UNITY_GAIN_FLOAT); in testBufferIncrement()
185 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testStopbandDownconversion()
186 android::AudioResampler::UNITY_GAIN_FLOAT); in testStopbandDownconversion()
Dtest-mixer.cpp220 float f = AudioMixer::UNITY_GAIN_FLOAT / Providers.size(); // normalize volume by # tracks in main()