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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 // Instead of always using the hardware channel layout, check if a driver | 67 // Instead of always using the hardware channel layout, check if a driver |
68 // supports the source channel layout. Avoids outputting empty channels and | 68 // supports the source channel layout. Avoids outputting empty channels and |
69 // permits drivers to enable stereo to multichannel expansion. Kept behind a | 69 // permits drivers to enable stereo to multichannel expansion. Kept behind a |
70 // flag since some drivers lie about supported layouts and hang when used. See | 70 // flag since some drivers lie about supported layouts and hang when used. See |
71 // http://crbug.com/259165 for more details. | 71 // http://crbug.com/259165 for more details. |
72 const char kTrySupportedChannelLayouts[] = "try-supported-channel-layouts"; | 72 const char kTrySupportedChannelLayouts[] = "try-supported-channel-layouts"; |
73 | 73 |
74 // Number of buffers to use for WaveOut. | 74 // Number of buffers to use for WaveOut. |
75 const char kWaveOutBuffers[] = "waveout-buffers"; | 75 const char kWaveOutBuffers[] = "waveout-buffers"; |
| 76 |
| 77 // Enable the Intel Perceptual Computing SDK based depth camera. |
| 78 const char kEnableDepthCamera[] = "enable-depth-camera"; |
76 #endif | 79 #endif |
77 | 80 |
78 #if defined(USE_CRAS) | 81 #if defined(USE_CRAS) |
79 // Use CRAS, the ChromeOS audio server. | 82 // Use CRAS, the ChromeOS audio server. |
80 const char kUseCras[] = "use-cras"; | 83 const char kUseCras[] = "use-cras"; |
81 #endif | 84 #endif |
82 | 85 |
83 // Use a raw video file as fake video capture device. | 86 // Use a raw video file as fake video capture device. |
84 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture"; | 87 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture"; |
85 | 88 |
86 } // namespace switches | 89 } // namespace switches |
OLD | NEW |