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 | |
128 bool SetMinimumDelay(int delay_ms) override; | 126 bool SetMinimumDelay(int delay_ms) override; |
129 | 127 |
130 bool SetMaximumDelay(int delay_ms) override; | 128 bool SetMaximumDelay(int delay_ms) override; |
131 | 129 |
132 int LeastRequiredDelayMs() const override; | 130 int LeastRequiredDelayMs() const override; |
133 | 131 |
134 int SetTargetDelay() override; | 132 int SetTargetDelay() override; |
135 | 133 |
136 int TargetDelay() override; | 134 int TargetDelay() override; |
137 | 135 |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 AudioFrame::kVadPassive; | 403 AudioFrame::kVadPassive; |
406 std::unique_ptr<TickTimer::Stopwatch> generated_noise_stopwatch_ | 404 std::unique_ptr<TickTimer::Stopwatch> generated_noise_stopwatch_ |
407 GUARDED_BY(crit_sect_); | 405 GUARDED_BY(crit_sect_); |
408 | 406 |
409 private: | 407 private: |
410 RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl); | 408 RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl); |
411 }; | 409 }; |
412 | 410 |
413 } // namespace webrtc | 411 } // namespace webrtc |
414 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_ | 412 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_ |
OLD | NEW |