blob: bba9c622a12bb19ac7b7f7c49ea602998ff77a13 [file] [log] [blame]
Ivo Creusen2cb41052018-03-15 12:22:52 +01001/*
2 * Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11#include "api/test/audioproc_float.h"
12
13#include <utility>
14
15#include "modules/audio_processing/test/audioproc_float_impl.h"
16
17namespace webrtc {
18namespace test {
19
20int AudioprocFloat(std::unique_ptr<AudioProcessingBuilder> ap_builder,
21 int argc,
22 char* argv[]) {
Sonia-Florina Horchidanb75d14c2019-08-12 09:57:01 +020023 return AudioprocFloatImpl(std::move(ap_builder), argc, argv,
24 /*input_aecdump=*/"",
25 /*processed_capture_samples=*/nullptr);
26}
27
28int AudioprocFloat(std::unique_ptr<AudioProcessingBuilder> ap_builder,
29 int argc,
30 char* argv[],
31 absl::string_view input_aecdump,
32 std::vector<float>* processed_capture_samples) {
33 return AudioprocFloatImpl(std::move(ap_builder), argc, argv, input_aecdump,
34 processed_capture_samples);
Ivo Creusen2cb41052018-03-15 12:22:52 +010035}
36
37} // namespace test
38} // namespace webrtc