Index: webrtc/modules/audio_coding/audio_network_adaptor/controller.cc |
diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/controller.cc b/webrtc/modules/audio_coding/audio_network_adaptor/controller.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..13d8f51c0789c499247897717eac5f8e453b5bed |
--- /dev/null |
+++ b/webrtc/modules/audio_coding/audio_network_adaptor/controller.cc |
@@ -0,0 +1,35 @@ |
+/* |
+ * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
+ * |
+ * Use of this source code is governed by a BSD-style license |
+ * that can be found in the LICENSE file in the root of the source |
+ * tree. An additional intellectual property rights grant can be found |
+ * in the file PATENTS. All contributing project authors may |
+ * be found in the AUTHORS file in the root of the source tree. |
+ */ |
+ |
+#include "webrtc/modules/audio_coding/audio_network_adaptor/controller.h" |
+ |
+namespace webrtc { |
+ |
+Controller::NetworkMetrics::NetworkMetrics() = default; |
+ |
+Controller::NetworkMetrics::~NetworkMetrics() = default; |
+ |
+Controller::Constraints::Constraints() = default; |
+ |
+Controller::Constraints::~Constraints() = default; |
+ |
+Controller::Constraints::FrameLengthRange::FrameLengthRange( |
+ int min_frame_length_ms, |
+ int max_frame_length_ms) |
+ : min_frame_length_ms(min_frame_length_ms), |
+ max_frame_length_ms(max_frame_length_ms) { |
+ RTC_DCHECK(min_frame_length_ms <= max_frame_length_ms); |
hlundin-webrtc
2016/09/07 14:20:32
RTC_DCHECK_LE
minyue-webrtc
2016/09/08 11:06:14
Right. But since this does not guarantee the corre
hlundin-webrtc
2016/09/08 13:52:05
Acknowledged.
|
+} |
+ |
+Controller::Constraints::FrameLengthRange::~FrameLengthRange() = default; |
+ |
+void Controller::SetConstraints(const Constraints& constraints) {} |
+ |
+} // namespace webrtc |