tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

audioproc_float.cc (1332B)


      1 /*
      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 <memory>
     14 #include <utility>
     15 
     16 #include "absl/base/nullability.h"
     17 #include "api/audio/audio_processing.h"
     18 #include "api/audio/builtin_audio_processing_builder.h"
     19 #include "modules/audio_processing/test/audioproc_float_impl.h"
     20 
     21 namespace webrtc {
     22 namespace test {
     23 
     24 int AudioprocFloat(int argc, char* argv[]) {
     25  return AudioprocFloatImpl(std::make_unique<BuiltinAudioProcessingBuilder>(),
     26                            argc, argv);
     27 }
     28 
     29 int AudioprocFloat(
     30    absl_nonnull std::unique_ptr<BuiltinAudioProcessingBuilder> ap_builder,
     31    int argc,
     32    char* argv[]) {
     33  return AudioprocFloatImpl(std::move(ap_builder), argc, argv);
     34 }
     35 
     36 int AudioprocFloat(
     37    absl_nonnull std::unique_ptr<AudioProcessingBuilderInterface> ap_builder,
     38    int argc,
     39    char* argv[]) {
     40  return AudioprocFloatImpl(std::move(ap_builder), argc, argv);
     41 }
     42 
     43 }  // namespace test
     44 }  // namespace webrtc