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

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: Changes based on review from 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
« media/audio/win/audio_manager_win.cc ('K') | « media/base/media_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
tommi (sloooow) - chröme 2012/07/25 11:49:40 nit: move url to the next line to stay within 80
henrika (OOO until Aug 14) 2012/07/25 15:26:30 Discussed offline. Keeping as is.
+// for details.
+const char kEnableExclusiveMode[] = "enable-exclusive-mode";
+#endif
+
// Set number of threads to use for video decoding.
const char kVideoThreads[] = "video-threads";
« media/audio/win/audio_manager_win.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