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

Side by Side Diff: webrtc/voice_engine/mock/mock_voe_volume_control.h

Issue 1299143003: Remove AgcManager. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Initialize volume Created 5 years, 2 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
« no previous file with comments | « webrtc/voice_engine/mock/fake_voe_external_media.h ('k') | webrtc/webrtc_tests.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2013 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_VOICE_ENGINE_INCLUDE_MOCK_MOCK_VOE_VOLUME_CONTROL_H_
12 #define WEBRTC_VOICE_ENGINE_INCLUDE_MOCK_MOCK_VOE_VOLUME_CONTROL_H_
13
14 #include "testing/gmock/include/gmock/gmock.h"
15 #include "webrtc/voice_engine/include/voe_volume_control.h"
16
17 namespace webrtc {
18
19 class VoiceEngine;
20
21 class MockVoEVolumeControl : public VoEVolumeControl {
22 public:
23 MOCK_METHOD0(Release, int());
24 MOCK_METHOD1(SetSpeakerVolume, int(unsigned int volume));
25 MOCK_METHOD1(GetSpeakerVolume, int(unsigned int& volume));
26 MOCK_METHOD1(SetMicVolume, int(unsigned int volume));
27 MOCK_METHOD1(GetMicVolume, int(unsigned int& volume));
28 MOCK_METHOD2(SetInputMute, int(int channel, bool enable));
29 MOCK_METHOD2(GetInputMute, int(int channel, bool& enabled));
30 MOCK_METHOD1(GetSpeechInputLevel, int(unsigned int& level));
31 MOCK_METHOD2(GetSpeechOutputLevel, int(int channel, unsigned int& level));
32 MOCK_METHOD1(GetSpeechInputLevelFullRange, int(unsigned int& level));
33 MOCK_METHOD2(GetSpeechOutputLevelFullRange,
34 int(int channel, unsigned int& level));
35 MOCK_METHOD2(SetChannelOutputVolumeScaling, int(int channel, float scaling));
36 MOCK_METHOD2(GetChannelOutputVolumeScaling, int(int channel, float& scaling));
37 MOCK_METHOD3(SetOutputVolumePan, int(int channel, float left, float right));
38 MOCK_METHOD3(GetOutputVolumePan, int(int channel, float& left, float& right));
39 };
40
41 } // namespace webrtc
42
43 #endif // WEBRTC_VOICE_ENGINE_INCLUDE_MOCK_MOCK_VOE_VOLUME_CONTROL_H_
OLDNEW
« no previous file with comments | « webrtc/voice_engine/mock/fake_voe_external_media.h ('k') | webrtc/webrtc_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698