Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Side by Side Diff: media/base/media_switches.cc

Issue 10575017: Adding experimental exclusive-mode streaming to WASAPIAudioOutputStream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changes based on review from Andrew Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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.
11 const char kAlsaOutputDevice[] = "alsa-output-device"; 11 const char kAlsaOutputDevice[] = "alsa-output-device";
12 // The Alsa device to use when opening an audio input stream. 12 // The Alsa device to use when opening an audio input stream.
13 const char kAlsaInputDevice[] = "alsa-input-device"; 13 const char kAlsaInputDevice[] = "alsa-input-device";
14 #endif 14 #endif
15 15
16 #if defined(OS_LINUX) 16 #if defined(OS_LINUX)
17 // Use CRAS, the ChromeOS audio server. 17 // Use CRAS, the ChromeOS audio server.
18 const char kUseCras[] = "use-cras"; 18 const char kUseCras[] = "use-cras";
19 #endif 19 #endif
20 20
21 #if defined(OS_POSIX) && !defined(OS_MACOSX) 21 #if defined(OS_POSIX) && !defined(OS_MACOSX)
22 // Use PulseAudio on platforms that support it. 22 // Use PulseAudio on platforms that support it.
23 const char kUsePulseAudio[] = "use-pulseaudio"; 23 const char kUsePulseAudio[] = "use-pulseaudio";
24 #endif 24 #endif
25 25
26 #if defined(OS_WIN)
27 // Use exclusive mode audio streaming for Windows Vista and higher.
28 // Leads to lower latencies for audio streams which uses the
29 // AudioParameters::AUDIO_PCM_LOW_LATENCY audio path.
30 // See http://msdn.microsoft.com/en-us/library/windows/desktop/dd370844(v=vs.85) .aspx
tommi (sloooow) - chröme 2012/07/25 11:49:40 nit: move url to the next line to stay within 80
henrika (OOO until Aug 14) 2012/07/25 15:26:30 Discussed offline. Keeping as is.
31 // for details.
32 const char kEnableExclusiveMode[] = "enable-exclusive-mode";
33 #endif
34
26 // Set number of threads to use for video decoding. 35 // Set number of threads to use for video decoding.
27 const char kVideoThreads[] = "video-threads"; 36 const char kVideoThreads[] = "video-threads";
28 37
29 // Disables browser-side audio mixer. 38 // Disables browser-side audio mixer.
30 const char kDisableAudioMixer[] = "disable-audio-mixer"; 39 const char kDisableAudioMixer[] = "disable-audio-mixer";
31 40
32 } // namespace switches 41 } // namespace switches
OLDNEW
« media/audio/win/audio_manager_win.cc ('K') | « media/base/media_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698