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

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

Issue 14273018: Use the browser UI thread for audio on OSX. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments. Created 7 years, 6 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
« no previous file with comments | « media/audio/mock_audio_manager.cc ('k') | media/base/media_switches.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Defines all the "media" command-line switches. 5 // Defines all the "media" command-line switches.
6 6
7 #ifndef MEDIA_BASE_MEDIA_SWITCHES_H_ 7 #ifndef MEDIA_BASE_MEDIA_SWITCHES_H_
8 #define MEDIA_BASE_MEDIA_SWITCHES_H_ 8 #define MEDIA_BASE_MEDIA_SWITCHES_H_
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 #include "media/base/media_export.h" 11 #include "media/base/media_export.h"
12 12
13 namespace switches { 13 namespace switches {
14 14
15 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) 15 MEDIA_EXPORT extern const char kAudioBufferSize[];
16 extern const char kAlsaOutputDevice[]; 16
17 extern const char kAlsaInputDevice[]; 17 MEDIA_EXPORT extern const char kEnableEac3Playback[];
18
19 MEDIA_EXPORT extern const char kEnableOpusPlayback[];
20
21 MEDIA_EXPORT extern const char kEnableVp8AlphaPlayback[];
22
23 MEDIA_EXPORT extern const char kEnableVp9Playback[];
24
25 MEDIA_EXPORT extern const char kVideoThreads[];
26
27 #if defined(GOOGLE_TV)
28 MEDIA_EXPORT extern const char kUseExternalVideoSurfaceThresholdInPixels[];
18 #endif 29 #endif
19 30
20 MEDIA_EXPORT extern const char kAudioBufferSize[]; 31 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS)
32 MEDIA_EXPORT extern const char kAlsaInputDevice[];
33 MEDIA_EXPORT extern const char kAlsaOutputDevice[];
34 #endif
35
36 #if defined(OS_MACOSX)
37 MEDIA_EXPORT extern const char kDisableMainThreadAudio[];
38 #endif
39
40 #if defined(OS_WIN)
41 MEDIA_EXPORT extern const char kEnableExclusiveAudio[];
42 MEDIA_EXPORT extern const char kForceWaveAudio[];
43 MEDIA_EXPORT extern const char kWaveOutBuffers[];
44 #endif
21 45
22 #if defined(USE_CRAS) 46 #if defined(USE_CRAS)
23 MEDIA_EXPORT extern const char kUseCras[]; 47 MEDIA_EXPORT extern const char kUseCras[];
24 #endif 48 #endif
25 49
26 #if defined(OS_WIN)
27 MEDIA_EXPORT extern const char kEnableExclusiveAudio[];
28 MEDIA_EXPORT extern const char kForceWaveAudio[];
29 #endif
30
31 MEDIA_EXPORT extern const char kVideoThreads[];
32
33 MEDIA_EXPORT extern const char kEnableOpusPlayback[];
34
35 MEDIA_EXPORT extern const char kEnableVp9Playback[];
36
37 MEDIA_EXPORT extern const char kEnableVp8AlphaPlayback[];
38
39 MEDIA_EXPORT extern const char kEnableEac3Playback[];
40
41 #if defined(OS_WIN)
42 MEDIA_EXPORT extern const char kWaveOutBuffers[];
43 #endif
44
45 #if defined(GOOGLE_TV)
46 MEDIA_EXPORT extern const char kUseExternalVideoSurfaceThresholdInPixels[];
47 #endif
48
49 } // namespace switches 50 } // namespace switches
50 51
51 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ 52 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_
OLDNEW
« no previous file with comments | « media/audio/mock_audio_manager.cc ('k') | media/base/media_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698