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

Side by Side Diff: webrtc/modules/audio_processing/agc2/agc2.h

Issue 2848593002: AGC2 as a new APM sub-module operating with hard-coded gain. (Closed)
Patch Set: AGC2 in APM with enabled flag 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 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AGC2_AGC2_H_
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AGC2_AGC2_H_
13
14 namespace webrtc {
15
16 class Agc2 {
aleloi 2017/05/02 10:11:53 I think we should strive towards more descriptive
peah-webrtc 2017/05/02 11:01:08 Agree, what about GainController2 ?
AleBzk 2017/05/02 11:31:54 Any suggestion? I personally favor expanded names
peah-webrtc 2017/05/02 11:45:20 In AEC3, the folder is called AEC3, but the main c
AleBzk 2017/05/02 15:42:51 Let's stick to AEC3 way, I used GainControl2.
17 public:
18 virtual ~Agc2() = default;
aleloi 2017/05/02 10:11:53 I remember a recent virtual/not virtual discussion
peah-webrtc 2017/05/02 11:01:08 +1 on that. I don't think we should make this an i
AleBzk 2017/05/02 11:31:54 Having an interface allows mocking. Which otherwis
AleBzk 2017/05/02 11:31:54 Well, I think it's safer to declare the dtor as vi
peah-webrtc 2017/05/02 11:45:20 I'm not that good at this, but if this class is no
peah-webrtc 2017/05/02 11:45:20 It makes sense to include a mock if it is needed.
AleBzk 2017/05/02 15:42:51 From your comments, I understand that for the time
19 };
20
21 } // namespace webrtc
22
23 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AGC2_AGC2_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698