OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "media/base/media_switches.h" | 5 #include "media/base/media_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) | 9 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) |
10 // The Alsa device to use when opening an audio stream. | 10 // The Alsa device to use when opening an audio stream. |
11 const char kAlsaOutputDevice[] = "alsa-output-device"; | 11 const char kAlsaOutputDevice[] = "alsa-output-device"; |
12 // The Alsa device to use when opening an audio input stream. | 12 // The Alsa device to use when opening an audio input stream. |
13 const char kAlsaInputDevice[] = "alsa-input-device"; | 13 const char kAlsaInputDevice[] = "alsa-input-device"; |
14 #endif | 14 #endif |
15 | 15 |
16 // Use PulseAudio instead of ALSA on Linux. | 16 // 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.
| |
17 #if defined(OS_POSIX) && !defined(OS_MACOSX) | |
17 const char kUsePulseAudio[] = "use-pulseaudio"; | 18 const char kUsePulseAudio[] = "use-pulseaudio"; |
19 #endif | |
18 | 20 |
19 // Set number of threads to use for video decoding. | 21 // Set number of threads to use for video decoding. |
20 const char kVideoThreads[] = "video-threads"; | 22 const char kVideoThreads[] = "video-threads"; |
21 | 23 |
22 } // namespace switches | 24 } // namespace switches |
OLD | NEW |