Chromium Code Reviews

Side by Side Diff: webrtc/modules/audio_coding/include/audio_coding_module.h

Issue 2397573006: Using AudioOption to enable audio network adaptor. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 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 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 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 53 matching lines...)
64 AudioCodingModule() {} 64 AudioCodingModule() {}
65 65
66 public: 66 public:
67 struct Config { 67 struct Config {
68 Config(); 68 Config();
69 Config(const Config&); 69 Config(const Config&);
70 ~Config(); 70 ~Config();
71 71
72 int id; 72 int id;
73 NetEq::Config neteq_config; 73 NetEq::Config neteq_config;
74 bool audio_network_adaptor_enabled;
75 std::string audio_network_adaptor_config;
74 Clock* clock; 76 Clock* clock;
75 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory; 77 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory;
76 }; 78 };
77 79
78 /////////////////////////////////////////////////////////////////////////// 80 ///////////////////////////////////////////////////////////////////////////
79 // Creation and destruction of a ACM. 81 // Creation and destruction of a ACM.
80 // 82 //
81 // The second method is used for testing where a simulated clock can be 83 // The second method is used for testing where a simulated clock can be
82 // injected into ACM. ACM will take the ownership of the object clock and 84 // injected into ACM. ACM will take the ownership of the object clock and
83 // delete it when destroyed. 85 // delete it when destroyed.
(...skipping 715 matching lines...)
799 virtual std::vector<uint16_t> GetNackList( 801 virtual std::vector<uint16_t> GetNackList(
800 int64_t round_trip_time_ms) const = 0; 802 int64_t round_trip_time_ms) const = 0;
801 803
802 virtual void GetDecodingCallStatistics( 804 virtual void GetDecodingCallStatistics(
803 AudioDecodingCallStats* call_stats) const = 0; 805 AudioDecodingCallStats* call_stats) const = 0;
804 }; 806 };
805 807
806 } // namespace webrtc 808 } // namespace webrtc
807 809
808 #endif // WEBRTC_MODULES_AUDIO_CODING_INCLUDE_AUDIO_CODING_MODULE_H_ 810 #endif // WEBRTC_MODULES_AUDIO_CODING_INCLUDE_AUDIO_CODING_MODULE_H_
OLDNEW

Powered by Google App Engine