D | mel_processor_tests.cpp | 79 : mSampleRate(std::get<0>(GetParam())), in MelProcessorFixtureTest() 82 mProcessor(sp<MelProcessor>::make(mSampleRate, in MelProcessorFixtureTest() 89 ALOGV("Starting test for freq / sr: %d / %d", mFrequency, mSampleRate); in MelProcessorFixtureTest() 93 int32_t mSampleRate; member in android::audio_utils::__anon62cfcac90111::MelProcessorFixtureTest 119 appendSineWaveBuffer(mBuffer, 1000.0f, mSampleRate * mMaxMelsCallback, mSampleRate); in TEST_P() 120 appendSineWaveBuffer(mBuffer, 1000.0f, mSampleRate * mMaxMelsCallback, mSampleRate, 0.01f); in TEST_P() 132 appendSineWaveBuffer(mBuffer, mFrequency, mSampleRate, mSampleRate); in TEST_P() 133 appendSineWaveBuffer(mBuffer, 1000.0f, mSampleRate, mSampleRate); in TEST_P() 149 << mSampleRate << " compared to 1kHz is " << deltaValue in TEST_P() 159 sp<MelProcessor>::make(mSampleRate, 1, AUDIO_FORMAT_PCM_FLOAT, mMelCallback, mDeviceId+1, in TEST_P() [all …]
|