diff options
author | dalecurtis@chromium.org <dalecurtis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-01 06:26:35 +0000 |
---|---|---|
committer | dalecurtis@chromium.org <dalecurtis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-01 06:26:35 +0000 |
commit | a73aee064eb9e3d02e872a7d57fa238f62eb5b69 (patch) | |
tree | e6cc177f2e8d04d7df616b9d34067d235d881d4b /media/audio/audio_util.cc | |
parent | 9c0f403958d441f584dd2e0ed20c49388809a809 (diff) | |
download | chromium_src-a73aee064eb9e3d02e872a7d57fa238f62eb5b69.zip chromium_src-a73aee064eb9e3d02e872a7d57fa238f62eb5b69.tar.gz chromium_src-a73aee064eb9e3d02e872a7d57fa238f62eb5b69.tar.bz2 |
Use the correct number of WaveOut buffers on XP...
Reverts a buffer size increase added in http://crrev.com/168111
and hacks added in http://crrev.com/169553
BUG=161307
TEST=Flash, HTML5 playback smoothly -- even in the background.
Review URL: https://chromiumcodereview.appspot.com/12155003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180102 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/audio/audio_util.cc')
-rw-r--r-- | media/audio/audio_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/audio/audio_util.cc b/media/audio/audio_util.cc index 7342801f..6085c83 100644 --- a/media/audio/audio_util.cc +++ b/media/audio/audio_util.cc @@ -177,7 +177,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 |