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

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

Issue 1423043005: Remove ACMCodecDB::Codec, and make the rest of ACMCodecDB private (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@rac3
Patch Set: 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 a911e0f57f9961b60fedddfaf5f245dbede3203c..c376b851a7bd68332e98b02c8c057be1ca3a9564 100644
--- a/webrtc/modules/audio_coding/main/acm2/rent_a_codec.h
+++ b/webrtc/modules/audio_coding/main/acm2/rent_a_codec.h
@@ -148,6 +148,7 @@ class RentACodec {
int sampling_freq_hz,
int channels);
static rtc::Maybe<CodecInst> CodecInstById(CodecId codec_id);
+ static rtc::Maybe<CodecId> CodecIdByInst(const CodecInst& codec_inst);
static rtc::Maybe<CodecInst> CodecInstByParams(const char* payload_name,
int sampling_freq_hz,
int channels);

Powered by Google App Engine
This is Rietveld 408576698