| 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 29 matching lines...) Expand all Loading... |
| 40 // Sender | 40 // Sender |
| 41 // | 41 // |
| 42 | 42 |
| 43 // Can be called multiple times for Codec, CNG, RED. | 43 // Can be called multiple times for Codec, CNG, RED. |
| 44 int RegisterSendCodec(const CodecInst& send_codec) override; | 44 int RegisterSendCodec(const CodecInst& send_codec) override; |
| 45 | 45 |
| 46 void RegisterExternalSendCodec( | 46 void RegisterExternalSendCodec( |
| 47 AudioEncoder* external_speech_encoder) override; | 47 AudioEncoder* external_speech_encoder) override; |
| 48 | 48 |
| 49 // Get current send codec. | 49 // Get current send codec. |
| 50 rtc::Maybe<CodecInst> SendCodec() const override; | 50 rtc::Optional<CodecInst> SendCodec() const override; |
| 51 | 51 |
| 52 // Get current send frequency. | 52 // Get current send frequency. |
| 53 int SendFrequency() const override; | 53 int SendFrequency() const override; |
| 54 | 54 |
| 55 // Sets the bitrate to the specified value in bits/sec. In case the codec does | 55 // Sets the bitrate to the specified value in bits/sec. In case the codec does |
| 56 // not support the requested value it will choose an appropriate value | 56 // not support the requested value it will choose an appropriate value |
| 57 // instead. | 57 // instead. |
| 58 void SetBitRate(int bitrate_bps) override; | 58 void SetBitRate(int bitrate_bps) override; |
| 59 | 59 |
| 60 // Register a transport callback which will be | 60 // Register a transport callback which will be |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 const rtc::scoped_ptr<CriticalSectionWrapper> callback_crit_sect_; | 271 const rtc::scoped_ptr<CriticalSectionWrapper> callback_crit_sect_; |
| 272 AudioPacketizationCallback* packetization_callback_ | 272 AudioPacketizationCallback* packetization_callback_ |
| 273 GUARDED_BY(callback_crit_sect_); | 273 GUARDED_BY(callback_crit_sect_); |
| 274 ACMVADCallback* vad_callback_ GUARDED_BY(callback_crit_sect_); | 274 ACMVADCallback* vad_callback_ GUARDED_BY(callback_crit_sect_); |
| 275 }; | 275 }; |
| 276 | 276 |
| 277 } // namespace acm2 | 277 } // namespace acm2 |
| 278 } // namespace webrtc | 278 } // namespace webrtc |
| 279 | 279 |
| 280 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_ACM2_AUDIO_CODING_MODULE_IMPL_H_ | 280 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_ACM2_AUDIO_CODING_MODULE_IMPL_H_ |
| OLD | NEW |