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

Unified Diff: webrtc/modules/audio_coding/neteq/include/neteq.h

Issue 2354453003: AcmReceiver: Look up last decoder in NetEq's table of decoders (Closed)
Patch Set: grammar 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/neteq/include/neteq.h
diff --git a/webrtc/modules/audio_coding/neteq/include/neteq.h b/webrtc/modules/audio_coding/neteq/include/neteq.h
index cae56b386273c56fe00385d841fa3fa5849886cb..22d994e3aa987b0358ba086da2fffcd8c18c5cc6 100644
--- a/webrtc/modules/audio_coding/neteq/include/neteq.h
+++ b/webrtc/modules/audio_coding/neteq/include/neteq.h
@@ -252,6 +252,10 @@ class NetEq {
// (Config::sample_rate_hz) is returned.
virtual int last_output_sample_rate_hz() const = 0;
+ // Returns info about the decoder for the given payload type, or an empty
+ // value if we have no decoder for that payload type.
+ virtual rtc::Optional<CodecInst> GetDecoder(int payload_type) const = 0;
+
// Not implemented.
virtual int SetTargetNumberOfChannels() = 0;
« no previous file with comments | « webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc ('k') | webrtc/modules/audio_coding/neteq/neteq_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698