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

Unified Diff: content/browser/renderer_host/media/audio_renderer_host_unittest.cc

Issue 9395057: Fix muted audio when playback rate != 1.0 or 0.0 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 10 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
Index: content/browser/renderer_host/media/audio_renderer_host_unittest.cc
diff --git a/content/browser/renderer_host/media/audio_renderer_host_unittest.cc b/content/browser/renderer_host/media/audio_renderer_host_unittest.cc
index 0326eb5fdc6f81f6eef309de8a74c1b4a115a41e..4e09d658f6f2073566fc887db75679cbee77c887 100644
--- a/content/browser/renderer_host/media/audio_renderer_host_unittest.cc
+++ b/content/browser/renderer_host/media/audio_renderer_host_unittest.cc
@@ -203,7 +203,7 @@ class AudioRendererHostTest : public testing::Test {
params.channels = 2;
params.sample_rate = AudioParameters::kAudioCDSampleRate;
params.bits_per_sample = 16;
- params.samples_per_packet = AudioParameters::kAudioCDSampleRate / 10;
+ params.samples_per_packet = 0;
// Send a create stream message to the audio output stream and wait until
// we receive the created message.
« no previous file with comments | « no previous file | content/renderer/media/audio_hardware.cc » ('j') | media/filters/audio_renderer_algorithm_base.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698