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

Unified Diff: media/test/pipeline_integration_test.cc

Issue 1422113002: Enable pcm_s32le audio decoding. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: DEPS roll 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
« no previous file with comments | « media/test/data/sfx_s32le.wav ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/test/pipeline_integration_test.cc
diff --git a/media/test/pipeline_integration_test.cc b/media/test/pipeline_integration_test.cc
index b19b32c18e5f87292c6c645f1cb8cc495eccc916..69da77064e628bd41ef9bc7828ae3d894aa179b3 100644
--- a/media/test/pipeline_integration_test.cc
+++ b/media/test/pipeline_integration_test.cc
@@ -909,6 +909,14 @@ TEST_F(PipelineIntegrationTest, BasicPlaybackLive) {
demuxer_->GetTimelineOffset());
}
+TEST_F(PipelineIntegrationTest, S32PlaybackHashed) {
+ ASSERT_EQ(PIPELINE_OK, Start("sfx_s32le.wav", kHashed));
+ Play();
+ ASSERT_TRUE(WaitUntilOnEnded());
+ EXPECT_HASH_EQ(std::string(kNullVideoHash), GetVideoHash());
+ EXPECT_HASH_EQ("3.03,2.86,2.99,3.31,3.57,4.06,", GetAudioHash());
+}
+
TEST_F(PipelineIntegrationTest, F32PlaybackHashed) {
ASSERT_EQ(PIPELINE_OK, Start("sfx_f32le.wav", kHashed));
Play();
« no previous file with comments | « media/test/data/sfx_s32le.wav ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698