From 41ffc51e4504e02ed12f9e0f655617e3931af63c Mon Sep 17 00:00:00 2001 From: Tommi Date: Fri, 5 Jul 2024 11:28:17 +0200 Subject: [PATCH] Remove unused AudioprocFloat with input_aecdump param support There's some test code associated with this code path that can be deleted, so this is a first step towards removing it. From what I can tell, this is never used. Bug: none Change-Id: Idfb8a6c58b929c2eedd0cfc7bdc72f5b3862f5bc Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/356481 Reviewed-by: Gustaf Ullberg Commit-Queue: Tomas Gunnarsson Cr-Commit-Position: refs/heads/main@{#42600} --- api/test/audioproc_float.cc | 9 --------- api/test/audioproc_float.h | 12 ------------ 2 files changed, 21 deletions(-) diff --git a/api/test/audioproc_float.cc b/api/test/audioproc_float.cc index c8d7ff7193..2e0f15c4fb 100644 --- a/api/test/audioproc_float.cc +++ b/api/test/audioproc_float.cc @@ -31,14 +31,5 @@ int AudioprocFloat(std::unique_ptr ap_builder, /*processed_capture_samples=*/nullptr); } -int AudioprocFloat(std::unique_ptr ap_builder, - int argc, - char* argv[], - absl::string_view input_aecdump, - std::vector* processed_capture_samples) { - return AudioprocFloatImpl(std::move(ap_builder), argc, argv, input_aecdump, - processed_capture_samples); -} - } // namespace test } // namespace webrtc diff --git a/api/test/audioproc_float.h b/api/test/audioproc_float.h index 021bc732e1..dbdd9348e7 100644 --- a/api/test/audioproc_float.h +++ b/api/test/audioproc_float.h @@ -53,18 +53,6 @@ int AudioprocFloat(std::unique_ptr ap_builder, int argc, char* argv[]); -// Interface for the audio processing simulation utility, which is similar to -// the one above, but which adds the option of receiving the input as a string -// and returning the output as an array. The first three arguments fulfill the -// same purpose as above. Pass the `input_aecdump` to provide the content of an -// AEC dump file as a string. After the simulation is completed, -// `processed_capture_samples` will contain the the samples processed on the -// capture side. -int AudioprocFloat(std::unique_ptr ap_builder, - int argc, - char* argv[], - absl::string_view input_aecdump, - std::vector* processed_capture_samples); } // namespace test } // namespace webrtc