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

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

Issue 11309015: Increase Windows XP hardware buffer size to 4096. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix includes. Created 8 years, 1 month 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
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 // Allow users to specify a custom buffer size for debugging purpose.
10 const char kAudioBufferSize[] = "audio-buffer-size";
11
9 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) 12 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS)
10 // The Alsa device to use when opening an audio stream. 13 // The Alsa device to use when opening an audio stream.
11 const char kAlsaOutputDevice[] = "alsa-output-device"; 14 const char kAlsaOutputDevice[] = "alsa-output-device";
12 // The Alsa device to use when opening an audio input stream. 15 // The Alsa device to use when opening an audio input stream.
13 const char kAlsaInputDevice[] = "alsa-input-device"; 16 const char kAlsaInputDevice[] = "alsa-input-device";
14 #endif 17 #endif
15 18
16 #if defined(USE_CRAS) 19 #if defined(USE_CRAS)
17 // Use CRAS, the ChromeOS audio server. 20 // Use CRAS, the ChromeOS audio server.
18 const char kUseCras[] = "use-cras"; 21 const char kUseCras[] = "use-cras";
(...skipping 29 matching lines...) Expand all
48 // Enable browser-side audio mixer. 51 // Enable browser-side audio mixer.
49 const char kEnableAudioMixer[] = "enable-audio-mixer"; 52 const char kEnableAudioMixer[] = "enable-audio-mixer";
50 53
51 // Enable live audio input with getUserMedia() and the Web Audio API. 54 // Enable live audio input with getUserMedia() and the Web Audio API.
52 const char kEnableWebAudioInput[] = "enable-webaudio-input"; 55 const char kEnableWebAudioInput[] = "enable-webaudio-input";
53 56
54 // Set number of threads to use for video decoding. 57 // Set number of threads to use for video decoding.
55 const char kVideoThreads[] = "video-threads"; 58 const char kVideoThreads[] = "video-threads";
56 59
57 } // namespace switches 60 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698