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

Unified Diff: content/renderer/media/media_stream_audio_processor_unittest.cc

Issue 1377103002: Add sample rates checking in MediaStreamAudioProcessor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unittest updated Created 5 years, 2 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 | « content/renderer/media/media_stream_audio_processor.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_stream_audio_processor_unittest.cc
diff --git a/content/renderer/media/media_stream_audio_processor_unittest.cc b/content/renderer/media/media_stream_audio_processor_unittest.cc
index 20eb181240206123bcaa6e75fb764533747dd93d..e0492bbc849261f7b8b44e12e19dfe59644f4d1c 100644
--- a/content/renderer/media/media_stream_audio_processor_unittest.cc
+++ b/content/renderer/media/media_stream_audio_processor_unittest.cc
@@ -456,7 +456,7 @@ TEST_F(MediaStreamAudioProcessorTest, MAYBE_TestAllSampleRates) {
EXPECT_TRUE(audio_processor->has_audio_processing());
static const int kSupportedSampleRates[] =
- { 8000, 16000, 22050, 32000, 44100, 48000, 88200, 96000 };
+ { 8000, 16000, 22050, 32000, 44100, 48000 };
for (size_t i = 0; i < arraysize(kSupportedSampleRates); ++i) {
int buffer_size = (kSupportedSampleRates[i] / 100) < 128 ?
kSupportedSampleRates[i] / 100 : 128;
« no previous file with comments | « content/renderer/media/media_stream_audio_processor.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698