Index: webrtc/modules/audio_processing/agc2/gain_controller2.cc |
diff --git a/webrtc/modules/audio_processing/agc2/gain_controller2.cc b/webrtc/modules/audio_processing/agc2/gain_controller2.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7cc7eeebd838aa2ffc684de1558d6a0cf78e17d3 |
--- /dev/null |
+++ b/webrtc/modules/audio_processing/agc2/gain_controller2.cc |
@@ -0,0 +1,34 @@ |
+/* |
+ * Copyright (c) 2017 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_processing/agc2/gain_controller2.h" |
+ |
+#include "webrtc/base/checks.h" |
+ |
+namespace webrtc { |
+ |
+GainController2::GainController2() = default; |
+ |
+GainController2::~GainController2() = default; |
+ |
+bool GainController2::Validate( |
+ const AudioProcessing::Config::GainController2& config) { |
+ return true; |
+} |
+ |
+std::string GainController2::ToString( |
+ const AudioProcessing::Config::GainController2& config) { |
+ std::stringstream ss; |
+ ss << "{" |
+ << "enabled: " << (config.enabled ? "true" : "false") << "}"; |
+ return ss.str(); |
+} |
+ |
+} // namespace webrtc |