Change NumberOfWaveOutBuffers() to return 3 for Windows >= Vista (instead of ==).

BUG=136624
TEST=See bug (SB Audigy SE configured at 48 kHz (default) on Win7 + Flapper).

Review URL: https://chromiumcodereview.appspot.com/10821100

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149119 0039d316-1c4b-4281-b951-d872f2087c98
parent 2bd57fd7
......@@ -546,10 +546,10 @@ int NumberOfWaveOutBuffers() {
// 2 otherwise.
// Entire Windows audio stack was rewritten for Windows Vista, and wave out
// API is simulated on top of new API, so there is noticeable performance
// degradation compared to Windows XP. Part of regression was fixed in
// Windows 7. Maybe it is fixed in Vista Serice Pack, but let's be cautious.
// degradation compared to Windows XP. Part of regression was apparently fixed
// in Windows 7, but problems remain at least with some configurations.
if ((base::SysInfo::NumberOfProcessors() < 2) ||
(base::win::GetVersion() == base::win::VERSION_VISTA)) {
(base::win::GetVersion() >= base::win::VERSION_VISTA)) {
return 3;
}
return 2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment