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

Unified Diff: media/base/media_switches.cc

Issue 10575017: Adding experimental exclusive-mode streaming to WASAPIAudioOutputStream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Modifications proposed by Andrew 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
Index: media/base/media_switches.cc
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
index 3d500224f688f043167a2fc7813284ec61730ff1..290333bba7d79c422e6037c162630430478a5827 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -23,6 +23,15 @@ const char kUseCras[] = "use-cras";
const char kUsePulseAudio[] = "use-pulseaudio";
#endif
+#if defined(OS_WIN)
+// Use exclusive mode audio streaming for Windows Vista and higher.
+// Leads to lower latencies for audio streams which uses the
+// AudioParameters::AUDIO_PCM_LOW_LATENCY audio path.
+// See http://msdn.microsoft.com/en-us/library/windows/desktop/dd370844(v=vs.85).aspx
+// for details.
+const char kEnableExclusiveMode[] = "enable-exclusive-mode";
tommi (sloooow) - chröme 2012/07/26 09:13:04 'exclusive-mode' doesn't suggest that it has anyth
henrika (OOO until Aug 14) 2012/07/26 13:23:01 Good comment. Done.
+#endif
+
// Set number of threads to use for video decoding.
const char kVideoThreads[] = "video-threads";
« media/audio/win/audio_low_latency_output_win_unittest.cc ('K') | « media/base/media_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698