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

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

Issue 9442005: Clean up audio-related utility functions to compute buffer sizes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase ToT 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
« no previous file with comments | « content/browser/renderer_host/media/audio_renderer_host.cc ('k') | content/renderer/media/audio_hardware.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4e09d658f6f2073566fc887db75679cbee77c887..0326eb5fdc6f81f6eef309de8a74c1b4a115a41e 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 = 0;
+ params.samples_per_packet = AudioParameters::kAudioCDSampleRate / 10;
// Send a create stream message to the audio output stream and wait until
// we receive the created message.
« no previous file with comments | « content/browser/renderer_host/media/audio_renderer_host.cc ('k') | content/renderer/media/audio_hardware.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698