| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 int32_t EncodeAndSend(); | 73 int32_t EncodeAndSend(); |
| 74 // Used by the Chrome to pass the recording data to the specific VoE | 74 // Used by the Chrome to pass the recording data to the specific VoE |
| 75 // channels for encoding and sending to the network. | 75 // channels for encoding and sending to the network. |
| 76 void EncodeAndSend(const int voe_channels[], size_t number_of_voe_channels); | 76 void EncodeAndSend(const int voe_channels[], size_t number_of_voe_channels); |
| 77 | 77 |
| 78 // Must be called on the same thread as PrepareDemux(). | 78 // Must be called on the same thread as PrepareDemux(). |
| 79 uint32_t CaptureLevel() const; | 79 uint32_t CaptureLevel() const; |
| 80 | 80 |
| 81 int32_t StopSend(); | 81 int32_t StopSend(); |
| 82 | 82 |
| 83 // VoEVolumeControl | 83 // TODO(solenberg): Remove, once AudioMonitor is gone. |
| 84 int SetMute(bool enable); | |
| 85 | |
| 86 bool Mute() const; | |
| 87 | |
| 88 int8_t AudioLevel() const; | 84 int8_t AudioLevel() const; |
| 89 | 85 |
| 90 // 'virtual' to allow mocking. | 86 // 'virtual' to allow mocking. |
| 91 virtual int16_t AudioLevelFullRange() const; | 87 virtual int16_t AudioLevelFullRange() const; |
| 92 | 88 |
| 93 bool IsRecordingCall(); | 89 bool IsRecordingCall(); |
| 94 | 90 |
| 95 bool IsRecordingMic(); | 91 bool IsRecordingMic(); |
| 96 | 92 |
| 97 int StartPlayingFileAsMicrophone(const char* fileName, | 93 int StartPlayingFileAsMicrophone(const char* fileName, |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 #if WEBRTC_VOICE_ENGINE_TYPING_DETECTION | 216 #if WEBRTC_VOICE_ENGINE_TYPING_DETECTION |
| 221 MonitorModule<TransmitMixer> _monitorModule; | 217 MonitorModule<TransmitMixer> _monitorModule; |
| 222 webrtc::TypingDetection _typingDetection; | 218 webrtc::TypingDetection _typingDetection; |
| 223 bool _typingNoiseWarningPending = false; | 219 bool _typingNoiseWarningPending = false; |
| 224 bool _typingNoiseDetected = false; | 220 bool _typingNoiseDetected = false; |
| 225 #endif | 221 #endif |
| 226 | 222 |
| 227 int _instanceId = 0; | 223 int _instanceId = 0; |
| 228 bool _mixFileWithMicrophone = false; | 224 bool _mixFileWithMicrophone = false; |
| 229 uint32_t _captureLevel = 0; | 225 uint32_t _captureLevel = 0; |
| 230 bool _mute = false; | |
| 231 bool stereo_codec_ = false; | 226 bool stereo_codec_ = false; |
| 232 bool swap_stereo_channels_ = false; | 227 bool swap_stereo_channels_ = false; |
| 233 }; | 228 }; |
| 234 } // namespace voe | 229 } // namespace voe |
| 235 } // namespace webrtc | 230 } // namespace webrtc |
| 236 | 231 |
| 237 #endif // WEBRTC_VOICE_ENGINE_TRANSMIT_MIXER_H | 232 #endif // WEBRTC_VOICE_ENGINE_TRANSMIT_MIXER_H |
| OLD | NEW |