// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "media/base/media_switches.h" namespace switches { #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) // The Alsa device to use when opening an audio stream. const char kAlsaOutputDevice[] = "alsa-output-device"; // The Alsa device to use when opening an audio input stream. const char kAlsaInputDevice[] = "alsa-input-device"; #endif #if defined(OS_LINUX) // Use CRAS, the ChromeOS audio server. const char kUseCras[] = "use-cras"; #endif #if defined(OS_POSIX) && !defined(OS_MACOSX) // Use PulseAudio on platforms that support it. const char kUsePulseAudio[] = "use-pulseaudio"; #endif #if defined(OS_WIN) // Use exclusive mode audio streaming for Windows Vista and higher. // Leads to lower latencies for audio streams which uses the // AudioParameters::AUDIO_PCM_LOW_LATENCY audio path. // See http://msdn.microsoft.com/en-us/library/windows/desktop/dd370844(v=vs.85).aspx // for details. const char kEnableExclusiveAudio[] = "enable-exclusive-audio"; #endif // Set number of threads to use for video decoding. const char kVideoThreads[] = "video-threads"; // Disables browser-side audio mixer. const char kDisableAudioMixer[] = "disable-audio-mixer"; } // namespace switches