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

Unified Diff: media/audio/audio_util.cc

Issue 10821100: Change NumberOfWaveOutBuffers() to return 3 for Windows >= Vista (instead of ==). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « no previous file | no next file » | 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 0526616c426b46bf265df8a580ba9b9dcb69d25e..80066d5d772be0f8ad75d7d9e0c608c3a3eeefc0 100644
--- a/media/audio/audio_util.cc
+++ b/media/audio/audio_util.cc
@@ -549,7 +549,7 @@ int NumberOfWaveOutBuffers() {
// 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.
cpu_(ooo_6.6-7.5) 2012/07/31 02:20:13 remove the "was fixed in windows 7"
scherkus (not reviewing) 2012/07/31 02:21:35 +1
if ((base::SysInfo::NumberOfProcessors() < 2) ||
- (base::win::GetVersion() == base::win::VERSION_VISTA)) {
+ (base::win::GetVersion() >= base::win::VERSION_VISTA)) {
return 3;
}
return 2;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698