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

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: rebase+comment 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
« no previous file with comments | « webrtc/voice_engine/channel_proxy.cc ('k') | webrtc/voice_engine/voe_base_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 bool _mixFileWithMicrophone = false; 228 bool _mixFileWithMicrophone = false;
228 uint32_t _captureLevel = 0; 229 uint32_t _captureLevel = 0;
229 bool _mute = false; 230 bool _mute = false;
230 bool stereo_codec_ = false; 231 bool stereo_codec_ = false;
231 bool swap_stereo_channels_ = false; 232 bool swap_stereo_channels_ = false;
232 }; 233 };
233 } // namespace voe 234 } // namespace voe
234 } // namespace webrtc 235 } // namespace webrtc
235 236
236 #endif // WEBRTC_VOICE_ENGINE_TRANSMIT_MIXER_H 237 #endif // WEBRTC_VOICE_ENGINE_TRANSMIT_MIXER_H
OLDNEW
« no previous file with comments | « webrtc/voice_engine/channel_proxy.cc ('k') | webrtc/voice_engine/voe_base_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698