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

Unified Diff: media/filters/ffmpeg_audio_decoder_unittest.cc

Issue 7796033: Replace AudioDecoderConfig with simple accessors on AudioDecoder. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: rebase Created 9 years, 3 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/filters/ffmpeg_audio_decoder.cc ('k') | media/filters/null_audio_renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/ffmpeg_audio_decoder_unittest.cc
diff --git a/media/filters/ffmpeg_audio_decoder_unittest.cc b/media/filters/ffmpeg_audio_decoder_unittest.cc
index 885ef5aec723c309243e13c09c207c803fc560b8..9edc85ac1277253d68d06150bbfcc269ea026b3f 100644
--- a/media/filters/ffmpeg_audio_decoder_unittest.cc
+++ b/media/filters/ffmpeg_audio_decoder_unittest.cc
@@ -141,9 +141,9 @@ class FFmpegAudioDecoderTest : public testing::Test {
TEST_F(FFmpegAudioDecoderTest, Initialize) {
Initialize();
- EXPECT_EQ(16, decoder_->config().bits_per_channel);
- EXPECT_EQ(CHANNEL_LAYOUT_STEREO, decoder_->config().channel_layout);
- EXPECT_EQ(44100, decoder_->config().sample_rate);
+ EXPECT_EQ(16, decoder_->bits_per_channel());
+ EXPECT_EQ(CHANNEL_LAYOUT_STEREO, decoder_->channel_layout());
+ EXPECT_EQ(44100, decoder_->sample_rate());
Stop();
}
« no previous file with comments | « media/filters/ffmpeg_audio_decoder.cc ('k') | media/filters/null_audio_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698