| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 int32_t EncodeAndSend(); | 68 int32_t EncodeAndSend(); |
| 69 // Used by the Chrome to pass the recording data to the specific VoE | 69 // Used by the Chrome to pass the recording data to the specific VoE |
| 70 // channels for encoding and sending to the network. | 70 // channels for encoding and sending to the network. |
| 71 void EncodeAndSend(const int voe_channels[], size_t number_of_voe_channels); | 71 void EncodeAndSend(const int voe_channels[], size_t number_of_voe_channels); |
| 72 | 72 |
| 73 // Must be called on the same thread as PrepareDemux(). | 73 // Must be called on the same thread as PrepareDemux(). |
| 74 uint32_t CaptureLevel() const; | 74 uint32_t CaptureLevel() const; |
| 75 | 75 |
| 76 int32_t StopSend(); | 76 int32_t StopSend(); |
| 77 | 77 |
| 78 // VoEDtmf | |
| 79 void UpdateMuteMicrophoneTime(uint32_t lengthMs); | |
| 80 | |
| 81 // VoEExternalMedia | 78 // VoEExternalMedia |
| 82 int RegisterExternalMediaProcessing(VoEMediaProcess* object, | 79 int RegisterExternalMediaProcessing(VoEMediaProcess* object, |
| 83 ProcessingTypes type); | 80 ProcessingTypes type); |
| 84 int DeRegisterExternalMediaProcessing(ProcessingTypes type); | 81 int DeRegisterExternalMediaProcessing(ProcessingTypes type); |
| 85 | 82 |
| 86 int GetMixingFrequency(); | 83 int GetMixingFrequency(); |
| 87 | 84 |
| 88 // VoEVolumeControl | 85 // VoEVolumeControl |
| 89 int SetMute(bool enable); | 86 int SetMute(bool enable); |
| 90 | 87 |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 bool _typingNoiseDetected; | 216 bool _typingNoiseDetected; |
| 220 #endif | 217 #endif |
| 221 bool _saturationWarning; | 218 bool _saturationWarning; |
| 222 | 219 |
| 223 int _instanceId; | 220 int _instanceId; |
| 224 bool _mixFileWithMicrophone; | 221 bool _mixFileWithMicrophone; |
| 225 uint32_t _captureLevel; | 222 uint32_t _captureLevel; |
| 226 VoEMediaProcess* external_postproc_ptr_; | 223 VoEMediaProcess* external_postproc_ptr_; |
| 227 VoEMediaProcess* external_preproc_ptr_; | 224 VoEMediaProcess* external_preproc_ptr_; |
| 228 bool _mute; | 225 bool _mute; |
| 229 int32_t _remainingMuteMicTimeMs; | |
| 230 bool stereo_codec_; | 226 bool stereo_codec_; |
| 231 bool swap_stereo_channels_; | 227 bool swap_stereo_channels_; |
| 232 }; | 228 }; |
| 233 | 229 |
| 234 } // namespace voe | 230 } // namespace voe |
| 235 | 231 |
| 236 } // namespace webrtc | 232 } // namespace webrtc |
| 237 | 233 |
| 238 #endif // WEBRTC_VOICE_ENGINE_TRANSMIT_MIXER_H | 234 #endif // WEBRTC_VOICE_ENGINE_TRANSMIT_MIXER_H |
| OLD | NEW |