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

Unified Diff: media/audio/audio_util.cc

Issue 12155003: Use the correct number of WaveOut buffers on XP... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Useless header. 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/audio/audio_output_resampler.cc ('k') | media/audio/win/audio_manager_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_util.cc
diff --git a/media/audio/audio_util.cc b/media/audio/audio_util.cc
index 4c446dd8012bb1e9cb1d45ac119aa0c3d1341f3e..d74dbed074fec0b3cb1b5e2fada7ea78b1729221 100644
--- a/media/audio/audio_util.cc
+++ b/media/audio/audio_util.cc
@@ -257,7 +257,7 @@ size_t GetAudioHardwareBufferSize() {
return 128;
#elif defined(OS_WIN)
// Buffer size to use when a proper size can't be determined from the system.
- static const int kFallbackBufferSize = 4096;
+ static const int kFallbackBufferSize = 2048;
if (!CoreAudioUtil::IsSupported()) {
// Fall back to Windows Wave implementation on Windows XP or lower
« no previous file with comments | « media/audio/audio_output_resampler.cc ('k') | media/audio/win/audio_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698