Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Side by Side Diff: webrtc/modules/audio_coding/neteq/neteq_impl.h

Issue 2349973002: Revert of AcmReceiver: Ask NetEq to delete all decoders at once instead of one by one (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/neteq/include/neteq.h ('k') | webrtc/modules/audio_coding/neteq/neteq_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698