xref: /aosp_15_r20/external/webrtc/modules/audio_processing/test/conversational_speech/config.h (revision d9f758449e529ab9291ac668be2861e7a55c2422)
1 /*
2  *  Copyright (c) 2017 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 #ifndef MODULES_AUDIO_PROCESSING_TEST_CONVERSATIONAL_SPEECH_CONFIG_H_
12 #define MODULES_AUDIO_PROCESSING_TEST_CONVERSATIONAL_SPEECH_CONFIG_H_
13 
14 #include <string>
15 
16 #include "absl/strings/string_view.h"
17 
18 namespace webrtc {
19 namespace test {
20 namespace conversational_speech {
21 
22 struct Config {
ConfigConfig23   Config(absl::string_view audiotracks_path,
24          absl::string_view timing_filepath,
25          absl::string_view output_path)
26       : audiotracks_path_(audiotracks_path),
27         timing_filepath_(timing_filepath),
28         output_path_(output_path) {}
29 
30   const std::string& audiotracks_path() const;
31   const std::string& timing_filepath() const;
32   const std::string& output_path() const;
33 
34   const std::string audiotracks_path_;
35   const std::string timing_filepath_;
36   const std::string output_path_;
37 };
38 
39 }  // namespace conversational_speech
40 }  // namespace test
41 }  // namespace webrtc
42 
43 #endif  // MODULES_AUDIO_PROCESSING_TEST_CONVERSATIONAL_SPEECH_CONFIG_H_
44