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

Side by Side Diff: webrtc/modules/audio_processing/agc2/agc2_mock.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_MOCK_H_
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AGC2_AGC2_MOCK_H_
13
14 #include "webrtc/base/checks.h"
15 #include "webrtc/modules/audio_processing/agc2/agc2.h"
16 #include "webrtc/test/gmock.h"
17
18 namespace webrtc {
19 namespace test {
20
21 class Agc2Mock : Agc2 {
peah-webrtc 2017/05/02 11:01:08 I don't think we need a mock of AGC2. The main adv
AleBzk 2017/05/02 11:31:54 Right. Before removing AGC2 interface and its mock
peah-webrtc 2017/05/02 11:45:20 I don't think we should have any depencencies if w
AleBzk 2017/05/02 15:42:51 Mock removed.
22 public:
23 explicit Agc2Mock(rtc::CriticalSection* crit) {
24 RTC_DCHECK(crit);
25 }
26 ~Agc2Mock() override = default;
27 };
28
29 } // namespace test
30 } // namespace webrtc
31
32 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AGC2_AGC2_MOCK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698