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

Unified Diff: media/filters/decrypting_audio_decoder_unittest.cc

Issue 11778079: Encrypted Media: Enforcing the CDM to decode audio into S16 integers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/filters/decrypting_audio_decoder.cc ('k') | webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/decrypting_audio_decoder_unittest.cc
diff --git a/media/filters/decrypting_audio_decoder_unittest.cc b/media/filters/decrypting_audio_decoder_unittest.cc
index 210779945824c6321ada265e8ca795563a8a26af..a601fe6b8e9cd69ab87335bfd33b52448004175c 100644
--- a/media/filters/decrypting_audio_decoder_unittest.cc
+++ b/media/filters/decrypting_audio_decoder_unittest.cc
@@ -114,7 +114,8 @@ class DecryptingAudioDecoderTest : public testing::Test {
CHANNEL_LAYOUT_STEREO, 44100, NULL, 0, true, true);
InitializeAndExpectStatus(config_, PIPELINE_OK);
- EXPECT_EQ(config_.bits_per_channel(), decoder_->bits_per_channel());
+ EXPECT_EQ(DecryptingAudioDecoder::kSupportedBitsPerChannel,
+ decoder_->bits_per_channel());
EXPECT_EQ(config_.channel_layout(), decoder_->channel_layout());
EXPECT_EQ(config_.samples_per_second(), decoder_->samples_per_second());
}
« no previous file with comments | « media/filters/decrypting_audio_decoder.cc ('k') | webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698