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

Unified Diff: media/base/media_switches.cc

Issue 8499029: make pulseaudio available for all posix platforms because it's not linux only (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 1 month 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 eb57065db099d07835cebe1488d0b9e7dc51c628..bd2438db5de1356931440338bf30e505bb2cd581 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -13,8 +13,10 @@ const char kAlsaOutputDevice[] = "alsa-output-device";
const char kAlsaInputDevice[] = "alsa-input-device";
#endif
-// Use PulseAudio instead of ALSA on Linux.
+// Use PulseAudio on platforms that support it.
+#if defined(OS_POSIX) && !defined(OS_MACOSX)
const char kUsePulseAudio[] = "use-pulseaudio";
+#endif
// Set number of threads to use for video decoding.
const char kVideoThreads[] = "video-threads";

Powered by Google App Engine
This is Rietveld 408576698