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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 // Removes |rtp_payload_type| from the codec database. Returns 0 on success, | 122 // Removes |rtp_payload_type| from the codec database. Returns 0 on success, |
123 // -1 on failure. | 123 // -1 on failure. |
124 int RemovePayloadType(uint8_t rtp_payload_type) override; | 124 int RemovePayloadType(uint8_t rtp_payload_type) override; |
125 | 125 |
| 126 void RemoveAllPayloadTypes() override; |
| 127 |
126 bool SetMinimumDelay(int delay_ms) override; | 128 bool SetMinimumDelay(int delay_ms) override; |
127 | 129 |
128 bool SetMaximumDelay(int delay_ms) override; | 130 bool SetMaximumDelay(int delay_ms) override; |
129 | 131 |
130 int LeastRequiredDelayMs() const override; | 132 int LeastRequiredDelayMs() const override; |
131 | 133 |
132 int SetTargetDelay() override; | 134 int SetTargetDelay() override; |
133 | 135 |
134 int TargetDelay() override; | 136 int TargetDelay() override; |
135 | 137 |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 AudioFrame::kVadPassive; | 405 AudioFrame::kVadPassive; |
404 std::unique_ptr<TickTimer::Stopwatch> generated_noise_stopwatch_ | 406 std::unique_ptr<TickTimer::Stopwatch> generated_noise_stopwatch_ |
405 GUARDED_BY(crit_sect_); | 407 GUARDED_BY(crit_sect_); |
406 | 408 |
407 private: | 409 private: |
408 RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl); | 410 RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl); |
409 }; | 411 }; |
410 | 412 |
411 } // namespace webrtc | 413 } // namespace webrtc |
412 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_ | 414 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_ |
OLD | NEW |