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

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

Issue 2996593002: Give Audio{De,En}coderIsac* an "Impl" suffix, to free up the original names (Closed)
Patch Set: rebase Created 3 years, 4 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/audio_decoder_unittest.cc
diff --git a/webrtc/modules/audio_coding/neteq/audio_decoder_unittest.cc b/webrtc/modules/audio_coding/neteq/audio_decoder_unittest.cc
index a34594a0046eb7095f44656befe198849fd89093..f6ae2ddaac52a993d58ffa79b0b68f617141ad98 100644
--- a/webrtc/modules/audio_coding/neteq/audio_decoder_unittest.cc
+++ b/webrtc/modules/audio_coding/neteq/audio_decoder_unittest.cc
@@ -350,14 +350,14 @@ class AudioDecoderIsacFloatTest : public AudioDecoderTest {
codec_input_rate_hz_ = 16000;
frame_size_ = 480;
data_length_ = 10 * frame_size_;
- AudioEncoderIsac::Config config;
+ AudioEncoderIsacFloatImpl::Config config;
config.payload_type = payload_type_;
config.sample_rate_hz = codec_input_rate_hz_;
config.adaptive_mode = false;
config.frame_size_ms =
1000 * static_cast<int>(frame_size_) / codec_input_rate_hz_;
- audio_encoder_.reset(new AudioEncoderIsac(config));
- decoder_ = new AudioDecoderIsac(codec_input_rate_hz_);
+ audio_encoder_.reset(new AudioEncoderIsacFloatImpl(config));
+ decoder_ = new AudioDecoderIsacFloatImpl(codec_input_rate_hz_);
}
};
@@ -367,14 +367,14 @@ class AudioDecoderIsacSwbTest : public AudioDecoderTest {
codec_input_rate_hz_ = 32000;
frame_size_ = 960;
data_length_ = 10 * frame_size_;
- AudioEncoderIsac::Config config;
+ AudioEncoderIsacFloatImpl::Config config;
config.payload_type = payload_type_;
config.sample_rate_hz = codec_input_rate_hz_;
config.adaptive_mode = false;
config.frame_size_ms =
1000 * static_cast<int>(frame_size_) / codec_input_rate_hz_;
- audio_encoder_.reset(new AudioEncoderIsac(config));
- decoder_ = new AudioDecoderIsac(codec_input_rate_hz_);
+ audio_encoder_.reset(new AudioEncoderIsacFloatImpl(config));
+ decoder_ = new AudioDecoderIsacFloatImpl(codec_input_rate_hz_);
}
};
@@ -384,14 +384,14 @@ class AudioDecoderIsacFixTest : public AudioDecoderTest {
codec_input_rate_hz_ = 16000;
frame_size_ = 480;
data_length_ = 10 * frame_size_;
- AudioEncoderIsacFix::Config config;
+ AudioEncoderIsacFixImpl::Config config;
config.payload_type = payload_type_;
config.sample_rate_hz = codec_input_rate_hz_;
config.adaptive_mode = false;
config.frame_size_ms =
1000 * static_cast<int>(frame_size_) / codec_input_rate_hz_;
- audio_encoder_.reset(new AudioEncoderIsacFix(config));
- decoder_ = new AudioDecoderIsacFix(codec_input_rate_hz_);
+ audio_encoder_.reset(new AudioEncoderIsacFixImpl(config));
+ decoder_ = new AudioDecoderIsacFixImpl(codec_input_rate_hz_);
}
};

Powered by Google App Engine
This is Rietveld 408576698