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

Side by Side Diff: webrtc/modules/audio_processing/aec3/mock/mock_render_delay_controller.h

Issue 2611223003: Adding second layer of the echo canceller 3 functionality. (Closed)
Patch Set: Disabled DEATH tests that were causing memory leakage reports on test bots Created 3 years, 10 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_AEC3_MOCK_MOCK_RENDER_DELAY_CONTROLLER_H _
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_MOCK_MOCK_RENDER_DELAY_CONTROLLER_H _
13
14 #include "webrtc/base/array_view.h"
15 #include "webrtc/base/optional.h"
16 #include "webrtc/modules/audio_processing/aec3/render_delay_controller.h"
17 #include "webrtc/test/gmock.h"
18
19 namespace webrtc {
20 namespace test {
21
22 class MockRenderDelayController : public RenderDelayController {
23 public:
24 virtual ~MockRenderDelayController() = default;
25
26 MOCK_METHOD1(GetDelay, size_t(rtc::ArrayView<const float> capture));
27 MOCK_METHOD1(AnalyzeRender, bool(rtc::ArrayView<const float> capture));
28 MOCK_CONST_METHOD0(AlignmentHeadroomSamples, rtc::Optional<size_t>());
29 };
30
31 } // namespace test
32 } // namespace webrtc
33
34 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_MOCK_MOCK_RENDER_DELAY_CONTROLLE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698