Searched refs:maxPositive (Results 1 – 4 of 4) sorted by relevance
/cts/suite/audio_quality/test/ |
D | AudioSignalFactoryTest.cpp | 25 void testSignalBasic(android::sp<Buffer>& buffer, int maxPositive, in testSignalBasic() argument 30 ASSERT_TRUE(*data <= maxPositive); in testSignalBasic() 31 ASSERT_TRUE(*data >= -maxPositive); in testSignalBasic() 33 ASSERT_TRUE(*data <= maxPositive); in testSignalBasic() 34 ASSERT_TRUE(*data >= -maxPositive); in testSignalBasic() 41 const int maxPositive = 1000; in TEST_F() local 45 maxPositive, AudioHardware::ESampleRate_44100, signalFreq, samples); in TEST_F() 46 testSignalBasic(buffer, maxPositive, AudioHardware::ESampleRate_44100, signalFreq, samples); in TEST_F() 50 const int maxPositive = 1000; in TEST_F() local 54 maxPositive, samples); in TEST_F() [all …]
|
D | ClientInterfaceTest.cpp | 64 const int maxPositive = 10000; in TEST_F() local 68 maxPositive, AudioHardware::ESampleRate_44100, signalFreq, samples); in TEST_F() 83 const int maxPositive = 10000; in TEST_F() local
|
/cts/suite/audio_quality/lib/src/audio/ |
D | AudioSignalFactory.cpp | 24 int maxPositive, AudioHardware::SamplingRate samplingRate, int signalFreq, in generateSineWave() argument 34 double val = sin(multiplier * i) * maxPositive; in generateSineWave() 46 int maxPositive, int samples, bool stereo) in generateWhiteNoise() argument 55 double multiplier = (double)maxPositive / middle; in generateWhiteNoise() 58 val = (int16_t)((val - middle) * maxPositive / middle); in generateWhiteNoise()
|
/cts/suite/audio_quality/lib/include/audio/ |
D | AudioSignalFactory.h | 31 int maxPositive, AudioHardware::SamplingRate samplingRate, int signalFreq, int samples, 34 int maxPositive, int samples, bool stereo = true);
|