OLD | NEW |
(Empty) | |
| 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 #include "webrtc/modules/audio_processing/agc2/gain_controller2.h" |
| 12 |
| 13 #include "webrtc/base/checks.h" |
| 14 |
| 15 namespace webrtc { |
| 16 |
| 17 GainController2::GainController2() = default; |
| 18 |
| 19 GainController2::~GainController2() = default; |
| 20 |
| 21 bool GainController2::Validate( |
| 22 const AudioProcessing::Config::GainController2& config) { |
| 23 return true; |
| 24 } |
| 25 |
| 26 std::string GainController2::ToString( |
| 27 const AudioProcessing::Config::GainController2& config) { |
| 28 std::stringstream ss; |
| 29 ss << "{" |
| 30 << "enabled: " << (config.enabled ? "true" : "false") << "}"; |
| 31 return ss.str(); |
| 32 } |
| 33 |
| 34 } // namespace webrtc |
OLD | NEW |