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 #include "media/base/media_switches.h" | 5 #include "media/base/media_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // Allow users to specify a custom buffer size for debugging purpose. | 9 // Allow users to specify a custom buffer size for debugging purpose. |
10 const char kAudioBufferSize[] = "audio-buffer-size"; | 10 const char kAudioBufferSize[] = "audio-buffer-size"; |
(...skipping 24 matching lines...) Expand all Loading... |
35 const char kEnableExclusiveAudio[] = "enable-exclusive-audio"; | 35 const char kEnableExclusiveAudio[] = "enable-exclusive-audio"; |
36 #endif | 36 #endif |
37 | 37 |
38 // Disable automatic fallback from low latency to high latency path. | 38 // Disable automatic fallback from low latency to high latency path. |
39 const char kDisableAudioFallback[] = "disable-audio-fallback"; | 39 const char kDisableAudioFallback[] = "disable-audio-fallback"; |
40 | 40 |
41 // Disable AudioOutputResampler for automatic audio resampling and rebuffering. | 41 // Disable AudioOutputResampler for automatic audio resampling and rebuffering. |
42 const char kDisableAudioOutputResampler[] = "disable-audio-output-resampler"; | 42 const char kDisableAudioOutputResampler[] = "disable-audio-output-resampler"; |
43 | 43 |
44 // Controls renderer side mixing and low latency audio path for media elements. | 44 // Controls renderer side mixing and low latency audio path for media elements. |
45 #if defined(OS_WIN) || defined(OS_MAC) | 45 #if defined(OS_WIN) || defined(OS_MACOSX) |
46 const char kDisableRendererSideMixing[] = "disable-renderer-side-mixing"; | 46 const char kDisableRendererSideMixing[] = "disable-renderer-side-mixing"; |
47 #else | 47 #else |
48 const char kEnableRendererSideMixing[] = "enable-renderer-side-mixing"; | 48 const char kEnableRendererSideMixing[] = "enable-renderer-side-mixing"; |
49 #endif | 49 #endif |
50 | 50 |
51 // Enable browser-side audio mixer. | 51 // Enable browser-side audio mixer. |
52 const char kEnableAudioMixer[] = "enable-audio-mixer"; | 52 const char kEnableAudioMixer[] = "enable-audio-mixer"; |
53 | 53 |
54 // Enable live audio input with getUserMedia() and the Web Audio API. | 54 // Enable live audio input with getUserMedia() and the Web Audio API. |
55 const char kEnableWebAudioInput[] = "enable-webaudio-input"; | 55 const char kEnableWebAudioInput[] = "enable-webaudio-input"; |
56 | 56 |
57 // Set number of threads to use for video decoding. | 57 // Set number of threads to use for video decoding. |
58 const char kVideoThreads[] = "video-threads"; | 58 const char kVideoThreads[] = "video-threads"; |
59 | 59 |
60 // Enables support for encrypted media. Current implementation is | 60 // Enables support for encrypted media. Current implementation is |
61 // incomplete and this flag is used for development and testing. | 61 // incomplete and this flag is used for development and testing. |
62 const char kEnableEncryptedMedia[] = "enable-encrypted-media"; | 62 const char kEnableEncryptedMedia[] = "enable-encrypted-media"; |
63 | 63 |
64 } // namespace switches | 64 } // namespace switches |
OLD | NEW |