Searched refs:BPS (Results 1 – 2 of 2) sorted by relevance
23 android::sp<Buffer> AudioSignalFactory::generateSineWave(AudioHardware::BytesPerSample BPS, in generateSineWave() argument27 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() argument48 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() argument73 int bufferSize = samples * (stereo? 2 : 1) * BPS; in generateZeroSound()76 ASSERT(BPS == AudioHardware::E2BPS); in generateZeroSound()
30 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,