Chromium Code Reviews| Index: webrtc/modules/audio_processing/agc2/agc2.h |
| diff --git a/webrtc/modules/audio_processing/agc2/agc2.h b/webrtc/modules/audio_processing/agc2/agc2.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6a16bbce6315a586b33557728909cca3b8203fb0 |
| --- /dev/null |
| +++ b/webrtc/modules/audio_processing/agc2/agc2.h |
| @@ -0,0 +1,23 @@ |
| +/* |
| + * 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. |
| + */ |
| + |
| +#ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AGC2_AGC2_H_ |
| +#define WEBRTC_MODULES_AUDIO_PROCESSING_AGC2_AGC2_H_ |
| + |
| +namespace webrtc { |
| + |
| +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.
|
| + public: |
| + 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
|
| +}; |
| + |
| +} // namespace webrtc |
| + |
| +#endif // WEBRTC_MODULES_AUDIO_PROCESSING_AGC2_AGC2_H_ |