| 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 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) | 9 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) |
| 10 // The Alsa device to use when opening an audio stream. | 10 // The Alsa device to use when opening an audio stream. |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 // Leads to lower latencies for audio streams which uses the | 28 // Leads to lower latencies for audio streams which uses the |
| 29 // AudioParameters::AUDIO_PCM_LOW_LATENCY audio path. | 29 // AudioParameters::AUDIO_PCM_LOW_LATENCY audio path. |
| 30 // See http://msdn.microsoft.com/en-us/library/windows/desktop/dd370844(v=vs.85)
.aspx | 30 // See http://msdn.microsoft.com/en-us/library/windows/desktop/dd370844(v=vs.85)
.aspx |
| 31 // for details. | 31 // for details. |
| 32 const char kEnableExclusiveAudio[] = "enable-exclusive-audio"; | 32 const char kEnableExclusiveAudio[] = "enable-exclusive-audio"; |
| 33 #endif | 33 #endif |
| 34 | 34 |
| 35 // Disable automatic fallback from low latency to high latency path. | 35 // Disable automatic fallback from low latency to high latency path. |
| 36 const char kDisableAudioFallback[] = "disable-audio-fallback"; | 36 const char kDisableAudioFallback[] = "disable-audio-fallback"; |
| 37 | 37 |
| 38 // Disable AudioOutputResampler for automatic audio resampling and rebuffering. |
| 39 const char kDisableAudioOutputResampler[] = "disable-audio-output-resampler"; |
| 40 |
| 38 // Enable browser-side audio mixer. | 41 // Enable browser-side audio mixer. |
| 39 const char kEnableAudioMixer[] = "enable-audio-mixer"; | 42 const char kEnableAudioMixer[] = "enable-audio-mixer"; |
| 40 | 43 |
| 41 // Enable AudioOutputResampler for automatic audio resampling and rebuffering. | |
| 42 const char kEnableAudioOutputResampler[] = "enable-audio-output-resampler"; | |
| 43 | |
| 44 // Enable live audio input with getUserMedia() and the Web Audio API. | 44 // Enable live audio input with getUserMedia() and the Web Audio API. |
| 45 const char kEnableWebAudioInput[] = "enable-webaudio-input"; | 45 const char kEnableWebAudioInput[] = "enable-webaudio-input"; |
| 46 | 46 |
| 47 // Set number of threads to use for video decoding. | 47 // Set number of threads to use for video decoding. |
| 48 const char kVideoThreads[] = "video-threads"; | 48 const char kVideoThreads[] = "video-threads"; |
| 49 | 49 |
| 50 } // namespace switches | 50 } // namespace switches |
| OLD | NEW |