diff options
author | slock@chromium.org <slock@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-19 01:42:47 +0000 |
---|---|---|
committer | slock@chromium.org <slock@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-19 01:42:47 +0000 |
commit | ad6e9d1274c2a33ebf9170f7757f462fea36fae1 (patch) | |
tree | 85c726d73ebb496cae1173759678d55af300b7fe /media/base/media_switches.cc | |
parent | c4ed802942d46ce11a6d8728bb7b02110e6076a8 (diff) | |
download | chromium_src-ad6e9d1274c2a33ebf9170f7757f462fea36fae1.zip chromium_src-ad6e9d1274c2a33ebf9170f7757f462fea36fae1.tar.gz chromium_src-ad6e9d1274c2a33ebf9170f7757f462fea36fae1.tar.bz2 |
PulseAudio Sound Playback on Linux
This is the preliminary implementation of a PulseAudio sound backend for Chrome on Linux. At first, PulseAudio's mainloop, mainloop_api, and context constructs will be used instead of the message loop system used in alsa_output. This will be stereo only at first. Also, at first, PulseAudio will be dynamically linked in media.gyp as opposed to the final solution which will dynamically link PulseAudio in runtime if it is available.
BUG=32757
TEST=
Review URL: http://codereview.chromium.org/7473021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97408 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/media_switches.cc')
-rw-r--r-- | media/base/media_switches.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc index 7477a23..c779cc4 100644 --- a/media/base/media_switches.cc +++ b/media/base/media_switches.cc @@ -16,6 +16,9 @@ const char kAlsaInputDevice[] = "alsa-input-device"; // Enable x-adaptive URL scheme. const char kEnableAdaptive[] = "enable-adaptive"; +// Use PulseAudio instead of ALSA on Linux. +const char kUsePulseAudio[] = "use-pulseaudio"; + // Set number of threads to use for video decoding. const char kVideoThreads[] = "video-threads"; |