| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |