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

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

Issue 2339953002: AcmReceiver: Look up last decoder in NetEq's table of decoders (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 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..1f6205f1e4046023e329bbec26c2839f10a5d3d5 100644
--- a/webrtc/modules/audio_coding/neteq/include/neteq.h
+++ b/webrtc/modules/audio_coding/neteq/include/neteq.h
@@ -252,6 +252,8 @@ class NetEq {
// (Config::sample_rate_hz) is returned.
virtual int last_output_sample_rate_hz() const = 0;
+ virtual rtc::Optional<CodecInst> GetDecoder(int payload_type) const = 0;
ossu 2016/09/16 12:10:05 On second thought, should this one maybe be called
+
// Not implemented.
virtual int SetTargetNumberOfChannels() = 0;

Powered by Google App Engine
This is Rietveld 408576698