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

Unified Diff: media/filters/audio_renderer_algorithm_unittest.cc

Issue 205093002: Remove muting for extreme playbackRates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rip out muted_. Created 6 years, 9 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/audio_renderer_algorithm.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/audio_renderer_algorithm_unittest.cc
diff --git a/media/filters/audio_renderer_algorithm_unittest.cc b/media/filters/audio_renderer_algorithm_unittest.cc
index b05e64ad253cc5d770276905104ebd9099ce3e21..bfb8de2b1d82e1ec697729d47c44aca201e59049 100644
--- a/media/filters/audio_renderer_algorithm_unittest.cc
+++ b/media/filters/audio_renderer_algorithm_unittest.cc
@@ -141,7 +141,7 @@ class AudioRendererAlgorithmTest : public testing::Test {
bool all_zero = true;
for (int i = 0; i < frames_written && all_zero; ++i)
all_zero = audio_data->channel(ch)[i] == 0.0f;
- ASSERT_EQ(algorithm_.is_muted(), all_zero) << " for channel " << ch;
+ ASSERT_FALSE(all_zero) << " for channel " << ch;
}
}
« no previous file with comments | « media/filters/audio_renderer_algorithm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698