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

Side by Side Diff: webrtc/voice_engine/transmit_mixer.h

Issue 2721003002: Remove usage of VoEVolumeControl from WVoE and Audio[Send|Receive]Stream. (Closed)
Patch Set: Created 3 years, 9 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
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 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 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 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 int32_t StopSend(); 81 int32_t StopSend();
82 82
83 // VoEVolumeControl 83 // VoEVolumeControl
84 int SetMute(bool enable); 84 int SetMute(bool enable);
85 85
86 bool Mute() const; 86 bool Mute() const;
87 87
88 int8_t AudioLevel() const; 88 int8_t AudioLevel() const;
89 89
90 int16_t AudioLevelFullRange() const; 90 // 'virtual' to allow mocking.
91 virtual int16_t AudioLevelFullRange() const;
91 92
92 bool IsRecordingCall(); 93 bool IsRecordingCall();
93 94
94 bool IsRecordingMic(); 95 bool IsRecordingMic();
95 96
96 int StartPlayingFileAsMicrophone(const char* fileName, 97 int StartPlayingFileAsMicrophone(const char* fileName,
97 bool loop, 98 bool loop,
98 FileFormats format, 99 FileFormats format,
99 int startPosition, 100 int startPosition,
100 float volumeScaling, 101 float volumeScaling,
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 bool _mixFileWithMicrophone = false; 223 bool _mixFileWithMicrophone = false;
223 uint32_t _captureLevel = 0; 224 uint32_t _captureLevel = 0;
224 bool _mute = false; 225 bool _mute = false;
225 bool stereo_codec_ = false; 226 bool stereo_codec_ = false;
226 bool swap_stereo_channels_ = false; 227 bool swap_stereo_channels_ = false;
227 }; 228 };
228 } // namespace voe 229 } // namespace voe
229 } // namespace webrtc 230 } // namespace webrtc
230 231
231 #endif // WEBRTC_VOICE_ENGINE_TRANSMIT_MIXER_H 232 #endif // WEBRTC_VOICE_ENGINE_TRANSMIT_MIXER_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698