MLECO-3173: Add AD, KWS_ASR and Noise reduction use case API's
Signed-off-by: Richard Burton <richard.burton@arm.com>
Change-Id: I36f61ce74bf17f7b327cdae9704a22ca54144f37
diff --git a/tests/use_case/noise_reduction/RNNoiseProcessingTests.cpp b/tests/use_case/noise_reduction/RNNoiseProcessingTests.cpp
index e28a6da..ca5aab1 100644
--- a/tests/use_case/noise_reduction/RNNoiseProcessingTests.cpp
+++ b/tests/use_case/noise_reduction/RNNoiseProcessingTests.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2021 Arm Limited. All rights reserved.
+ * Copyright (c) 2021-2022 Arm Limited. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#include "RNNoiseProcess.hpp"
+#include "RNNoiseFeatureProcessor.hpp"
#include <catch.hpp>
#include <limits>
@@ -208,7 +208,7 @@
{
SECTION("FP32")
{
- arm::app::rnn::RNNoiseProcess rnnoiseProcessor;
+ arm::app::rnn::RNNoiseFeatureProcessor rnnoiseProcessor;
arm::app::rnn::FrameFeatures features;
rnnoiseProcessor.PreprocessFrame(testWav0.data(), testWav0.size(), features);
@@ -223,7 +223,7 @@
TEST_CASE("RNNoise postprocessing test", "[RNNoise]")
{
- arm::app::rnn::RNNoiseProcess rnnoiseProcessor;
+ arm::app::rnn::RNNoiseFeatureProcessor rnnoiseProcessor;
arm::app::rnn::FrameFeatures p;
rnnoiseProcessor.PreprocessFrame(testWav0.data(), testWav0.size(), p);
std::vector<float> denoised(testWav0.size());