| 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 MEDIA_EXPORT extern const char kAudioBufferSize[]; |
| 21 |
| 20 #if defined(USE_CRAS) | 22 #if defined(USE_CRAS) |
| 21 MEDIA_EXPORT extern const char kUseCras[]; | 23 MEDIA_EXPORT extern const char kUseCras[]; |
| 22 #endif | 24 #endif |
| 23 | 25 |
| 24 #if defined(USE_PULSEAUDIO) | 26 #if defined(USE_PULSEAUDIO) |
| 25 MEDIA_EXPORT extern const char kUsePulseAudio[]; | 27 MEDIA_EXPORT extern const char kUsePulseAudio[]; |
| 26 #endif | 28 #endif |
| 27 | 29 |
| 28 #if defined(OS_WIN) | 30 #if defined(OS_WIN) |
| 29 MEDIA_EXPORT extern const char kEnableExclusiveAudio[]; | 31 MEDIA_EXPORT extern const char kEnableExclusiveAudio[]; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 41 | 43 |
| 42 MEDIA_EXPORT extern const char kEnableAudioMixer[]; | 44 MEDIA_EXPORT extern const char kEnableAudioMixer[]; |
| 43 | 45 |
| 44 MEDIA_EXPORT extern const char kEnableWebAudioInput[]; | 46 MEDIA_EXPORT extern const char kEnableWebAudioInput[]; |
| 45 | 47 |
| 46 MEDIA_EXPORT extern const char kVideoThreads[]; | 48 MEDIA_EXPORT extern const char kVideoThreads[]; |
| 47 | 49 |
| 48 } // namespace switches | 50 } // namespace switches |
| 49 | 51 |
| 50 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 52 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
| OLD | NEW |