| 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 "base/feature_list.h" | 10 #include "base/feature_list.h" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 MEDIA_EXPORT extern const char kForceWaveAudio[]; | 39 MEDIA_EXPORT extern const char kForceWaveAudio[]; |
| 40 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; | 40 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; |
| 41 MEDIA_EXPORT extern const char kWaveOutBuffers[]; | 41 MEDIA_EXPORT extern const char kWaveOutBuffers[]; |
| 42 #endif | 42 #endif |
| 43 | 43 |
| 44 #if defined(USE_CRAS) | 44 #if defined(USE_CRAS) |
| 45 MEDIA_EXPORT extern const char kUseCras[]; | 45 MEDIA_EXPORT extern const char kUseCras[]; |
| 46 #endif | 46 #endif |
| 47 | 47 |
| 48 #if !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS) | 48 #if !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS) |
| 49 MEDIA_EXPORT extern const char kEnableDefaultMediaSession[]; | 49 MEDIA_EXPORT extern const char kEnableAudioFocus[]; |
| 50 #endif // !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS) | 50 #endif // !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS) |
| 51 | 51 |
| 52 #if BUILDFLAG(ENABLE_PLUGINS) | 52 #if BUILDFLAG(ENABLE_PLUGINS) |
| 53 MEDIA_EXPORT extern const char kEnableDefaultMediaSessionDuckFlash[]; | 53 MEDIA_EXPORT extern const char kEnableAudioFocusDuckFlash[]; |
| 54 #endif // BUILDFLAG(ENABLE_PLUGINS) | 54 #endif // BUILDFLAG(ENABLE_PLUGINS) |
| 55 | 55 |
| 56 #if BUILDFLAG(ENABLE_RUNTIME_MEDIA_RENDERER_SELECTION) | 56 #if BUILDFLAG(ENABLE_RUNTIME_MEDIA_RENDERER_SELECTION) |
| 57 MEDIA_EXPORT extern const char kDisableMojoRenderer[]; | 57 MEDIA_EXPORT extern const char kDisableMojoRenderer[]; |
| 58 #endif // BUILDFLAG(ENABLE_RUNTIME_MEDIA_RENDERER_SELECTION) | 58 #endif // BUILDFLAG(ENABLE_RUNTIME_MEDIA_RENDERER_SELECTION) |
| 59 | 59 |
| 60 MEDIA_EXPORT extern const char kUseFakeDeviceForMediaStream[]; | 60 MEDIA_EXPORT extern const char kUseFakeDeviceForMediaStream[]; |
| 61 MEDIA_EXPORT extern const char kUseFileForFakeVideoCapture[]; | 61 MEDIA_EXPORT extern const char kUseFileForFakeVideoCapture[]; |
| 62 MEDIA_EXPORT extern const char kUseFileForFakeAudioCapture[]; | 62 MEDIA_EXPORT extern const char kUseFileForFakeAudioCapture[]; |
| 63 MEDIA_EXPORT extern const char kUseFakeJpegDecodeAccelerator[]; | 63 MEDIA_EXPORT extern const char kUseFakeJpegDecodeAccelerator[]; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 #endif // defined(OS_ANDROID) | 116 #endif // defined(OS_ANDROID) |
| 117 | 117 |
| 118 #if defined(OS_WIN) | 118 #if defined(OS_WIN) |
| 119 MEDIA_EXPORT extern const base::Feature kD3D11VideoDecoding; | 119 MEDIA_EXPORT extern const base::Feature kD3D11VideoDecoding; |
| 120 MEDIA_EXPORT extern const base::Feature kMediaFoundationH264Encoding; | 120 MEDIA_EXPORT extern const base::Feature kMediaFoundationH264Encoding; |
| 121 #endif // defined(OS_WIN) | 121 #endif // defined(OS_WIN) |
| 122 | 122 |
| 123 } // namespace media | 123 } // namespace media |
| 124 | 124 |
| 125 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 125 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
| OLD | NEW |