| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Defines all the "media" command-line switches. | 5 // Defines all the "media" command-line switches. |
| 6 | 6 |
| 7 #ifndef MEDIA_BASE_MEDIA_SWITCHES_H_ | 7 #ifndef MEDIA_BASE_MEDIA_SWITCHES_H_ |
| 8 #define MEDIA_BASE_MEDIA_SWITCHES_H_ | 8 #define MEDIA_BASE_MEDIA_SWITCHES_H_ |
| 9 | 9 |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| 11 #include "media/base/media_export.h" | 11 #include "media/base/media_export.h" |
| 12 | 12 |
| 13 namespace switches { | 13 namespace switches { |
| 14 | 14 |
| 15 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) | 15 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) |
| 16 extern const char kAlsaOutputDevice[]; | 16 extern const char kAlsaOutputDevice[]; |
| 17 extern const char kAlsaInputDevice[]; | 17 extern const char kAlsaInputDevice[]; |
| 18 #endif | 18 #endif |
| 19 | 19 |
| 20 #if defined(OS_LINUX) | 20 #if defined(OS_LINUX) |
| 21 extern const char kUseCras[]; | 21 extern const char kUseCras[]; |
| 22 #endif | 22 #endif |
| 23 | 23 |
| 24 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 24 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 25 MEDIA_EXPORT extern const char kUsePulseAudio[]; | 25 MEDIA_EXPORT extern const char kUsePulseAudio[]; |
| 26 #endif | 26 #endif |
| 27 | 27 |
| 28 MEDIA_EXPORT extern const char kVideoThreads[]; | 28 MEDIA_EXPORT extern const char kVideoThreads[]; |
| 29 | 29 |
| 30 MEDIA_EXPORT extern const char kEnableAudioMixer[]; |
| 31 |
| 30 } // namespace switches | 32 } // namespace switches |
| 31 | 33 |
| 32 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 34 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
| OLD | NEW |