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

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: re-sync with the linux code 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.
scherkus (not reviewing) 2011/11/16 00:57:56 nit: move comment by switch
Robert Nagy 2011/11/16 11:59:59 Done.
+#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";
« media/base/media_switches.h ('K') | « media/base/media_switches.h ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698