Home
last modified time | relevance | path

Searched refs:BPS (Results 1 – 2 of 2) sorted by relevance

/cts/suite/audio_quality/lib/src/audio/
DAudioSignalFactory.cpp23 android::sp<Buffer> AudioSignalFactory::generateSineWave(AudioHardware::BytesPerSample BPS, in generateSineWave() argument
27 int bufferSize = samples * (stereo? 2 : 1) * BPS; in generateSineWave()
30 ASSERT(BPS == AudioHardware::E2BPS); in generateSineWave()
45 android::sp<Buffer> AudioSignalFactory::generateWhiteNoise(AudioHardware::BytesPerSample BPS, in generateWhiteNoise() argument
48 int bufferSize = samples * (stereo? 2 : 1) * BPS; in generateWhiteNoise()
51 ASSERT(BPS == AudioHardware::E2BPS); in generateWhiteNoise()
70 android::sp<Buffer> AudioSignalFactory::generateZeroSound(AudioHardware::BytesPerSample BPS, in generateZeroSound() argument
73 int bufferSize = samples * (stereo? 2 : 1) * BPS; in generateZeroSound()
76 ASSERT(BPS == AudioHardware::E2BPS); in generateZeroSound()
/cts/suite/audio_quality/lib/include/audio/
DAudioSignalFactory.h30 static android::sp<Buffer> generateSineWave(AudioHardware::BytesPerSample BPS,
33 static android::sp<Buffer> generateWhiteNoise(AudioHardware::BytesPerSample BPS,
35 static android::sp<Buffer> generateZeroSound(AudioHardware::BytesPerSample BPS,