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

Unified Diff: webrtc/modules/audio_coding/neteq/delay_manager.cc

Issue 1424083002: Make an enum class out of NetEqDecoder, and hide the neteq_decoders_ table (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 years, 2 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/delay_manager.cc
diff --git a/webrtc/modules/audio_coding/neteq/delay_manager.cc b/webrtc/modules/audio_coding/neteq/delay_manager.cc
index ea968aadb460ea2ded09ee20dab7c19cee4264a7..5140c0620f0623b79d466d54d8d1883cb9dc3c99 100644
--- a/webrtc/modules/audio_coding/neteq/delay_manager.cc
+++ b/webrtc/modules/audio_coding/neteq/delay_manager.cc
@@ -373,11 +373,11 @@ int DelayManager::TargetLevel() const {
}
void DelayManager::LastDecoderType(NetEqDecoder decoder_type) {
- if (decoder_type == kDecoderAVT ||
- decoder_type == kDecoderCNGnb ||
- decoder_type == kDecoderCNGwb ||
- decoder_type == kDecoderCNGswb32kHz ||
- decoder_type == kDecoderCNGswb48kHz) {
+ if (decoder_type == NetEqDecoder::kDecoderAVT ||
+ decoder_type == NetEqDecoder::kDecoderCNGnb ||
+ decoder_type == NetEqDecoder::kDecoderCNGwb ||
+ decoder_type == NetEqDecoder::kDecoderCNGswb32kHz ||
+ decoder_type == NetEqDecoder::kDecoderCNGswb48kHz) {
last_pack_cng_or_dtmf_ = 1;
} else if (last_pack_cng_or_dtmf_ != 0) {
last_pack_cng_or_dtmf_ = -1;
« no previous file with comments | « webrtc/modules/audio_coding/neteq/decoder_database_unittest.cc ('k') | webrtc/modules/audio_coding/neteq/include/neteq.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698