| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 | 112 |
| 113 int RegisterPayloadType(NetEqDecoder codec, | 113 int RegisterPayloadType(NetEqDecoder codec, |
| 114 const std::string& codec_name, | 114 const std::string& codec_name, |
| 115 uint8_t rtp_payload_type) override; | 115 uint8_t rtp_payload_type) override; |
| 116 | 116 |
| 117 int RegisterExternalDecoder(AudioDecoder* decoder, | 117 int RegisterExternalDecoder(AudioDecoder* decoder, |
| 118 NetEqDecoder codec, | 118 NetEqDecoder codec, |
| 119 const std::string& codec_name, | 119 const std::string& codec_name, |
| 120 uint8_t rtp_payload_type) override; | 120 uint8_t rtp_payload_type) override; |
| 121 | 121 |
| 122 bool RegisterPayloadType(int rtp_payload_type, |
| 123 const SdpAudioFormat& audio_format) override; |
| 124 |
| 122 // Removes |rtp_payload_type| from the codec database. Returns 0 on success, | 125 // Removes |rtp_payload_type| from the codec database. Returns 0 on success, |
| 123 // -1 on failure. | 126 // -1 on failure. |
| 124 int RemovePayloadType(uint8_t rtp_payload_type) override; | 127 int RemovePayloadType(uint8_t rtp_payload_type) override; |
| 125 | 128 |
| 126 void RemoveAllPayloadTypes() override; | 129 void RemoveAllPayloadTypes() override; |
| 127 | 130 |
| 128 bool SetMinimumDelay(int delay_ms) override; | 131 bool SetMinimumDelay(int delay_ms) override; |
| 129 | 132 |
| 130 bool SetMaximumDelay(int delay_ms) override; | 133 bool SetMaximumDelay(int delay_ms) override; |
| 131 | 134 |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 AudioFrame::kVadPassive; | 411 AudioFrame::kVadPassive; |
| 409 std::unique_ptr<TickTimer::Stopwatch> generated_noise_stopwatch_ | 412 std::unique_ptr<TickTimer::Stopwatch> generated_noise_stopwatch_ |
| 410 GUARDED_BY(crit_sect_); | 413 GUARDED_BY(crit_sect_); |
| 411 | 414 |
| 412 private: | 415 private: |
| 413 RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl); | 416 RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl); |
| 414 }; | 417 }; |
| 415 | 418 |
| 416 } // namespace webrtc | 419 } // namespace webrtc |
| 417 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_ | 420 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_ |
| OLD | NEW |