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

Unified Diff: webrtc/modules/audio_coding/main/acm2/rent_a_codec.h

Issue 1419013005: Hide ACMCodecDB::codec_settings_ behind an accessor (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: ICanHasNumChannels? Created 5 years, 1 month 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/main/acm2/rent_a_codec.h
diff --git a/webrtc/modules/audio_coding/main/acm2/rent_a_codec.h b/webrtc/modules/audio_coding/main/acm2/rent_a_codec.h
index 02749f7423fbc5500f01af2eb175b546202084d2..24ae121a478c44f10f339d81afd035c71243029b 100644
--- a/webrtc/modules/audio_coding/main/acm2/rent_a_codec.h
+++ b/webrtc/modules/audio_coding/main/acm2/rent_a_codec.h
@@ -154,6 +154,9 @@ class RentACodec {
static bool IsCodecValid(const CodecInst& codec_inst);
static rtc::ArrayView<const CodecInst> Database();
+ static rtc::Maybe<bool> IsSupportedNumChannels(CodecId codec_id,
+ int num_channels);
+
static rtc::Maybe<NetEqDecoder> NetEqDecoderFromCodecId(CodecId codec_id,
int num_channels);
};

Powered by Google App Engine
This is Rietveld 408576698