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

Unified Diff: media/cast/audio_receiver/audio_decoder_unittest.cc

Issue 109413004: Cast:Adding cast_transport_config and cleaning up (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 6 years, 11 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
« no previous file with comments | « media/cast/audio_receiver/audio_decoder.cc ('k') | media/cast/audio_receiver/audio_receiver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/audio_receiver/audio_decoder_unittest.cc
diff --git a/media/cast/audio_receiver/audio_decoder_unittest.cc b/media/cast/audio_receiver/audio_decoder_unittest.cc
index 04df4728bd9fe76df438326b87682a78d04ac435..fd28e98d3952c41ceee2508df197fda6c24ae85f 100644
--- a/media/cast/audio_receiver/audio_decoder_unittest.cc
+++ b/media/cast/audio_receiver/audio_decoder_unittest.cc
@@ -30,7 +30,7 @@ class AudioDecoderTest : public ::testing::Test {
testing_clock_.Advance(base::TimeDelta::FromMilliseconds(1234));
task_runner_ = new test::FakeTaskRunner(&testing_clock_);
cast_environment_ = new CastEnvironment(&testing_clock_, task_runner_,
- task_runner_, task_runner_, task_runner_, task_runner_,
+ task_runner_, task_runner_, task_runner_, task_runner_, task_runner_,
GetDefaultCastLoggingConfig());
}
virtual ~AudioDecoderTest() {}
@@ -52,7 +52,7 @@ TEST_F(AudioDecoderTest, Pcm16MonoNoResampleOnePacket) {
audio_config.rtp_payload_type = 127;
audio_config.frequency = 16000;
audio_config.channels = 1;
- audio_config.codec = kPcm16;
+ audio_config.codec = transport::kPcm16;
audio_config.use_external_decoder = false;
Configure(audio_config);
@@ -101,7 +101,7 @@ TEST_F(AudioDecoderTest, Pcm16StereoNoResampleTwoPackets) {
audio_config.rtp_payload_type = 127;
audio_config.frequency = 16000;
audio_config.channels = 2;
- audio_config.codec = kPcm16;
+ audio_config.codec = transport::kPcm16;
audio_config.use_external_decoder = false;
Configure(audio_config);
@@ -171,7 +171,7 @@ TEST_F(AudioDecoderTest, Pcm16Resample) {
audio_config.rtp_payload_type = 127;
audio_config.frequency = 16000;
audio_config.channels = 2;
- audio_config.codec = kPcm16;
+ audio_config.codec = transport::kPcm16;
audio_config.use_external_decoder = false;
Configure(audio_config);
« no previous file with comments | « media/cast/audio_receiver/audio_decoder.cc ('k') | media/cast/audio_receiver/audio_receiver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698