diff options
Diffstat (limited to 'media/test/pipeline_integration_test.cc')
-rw-r--r-- | media/test/pipeline_integration_test.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/media/test/pipeline_integration_test.cc b/media/test/pipeline_integration_test.cc index b19b32c..69da770 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(); |