Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Side by Side Diff: webrtc/modules/audio_processing/agc2/gain_controller2.cc

Issue 2848593002: AGC2 as a new APM sub-module operating with hard-coded gain. (Closed)
Patch Set: mock and iface removed, mv agc2 gain_controller2 Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698