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

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

Issue 6976055: More POSIX support for Chromium, consisting mostly of broadening ifdefs. This (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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/base/media_switches.h ('k') | media/tools/shader_bench/shader_bench.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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) 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 // Enable hardware decoding through gpu process. 16 // Enable hardware decoding through gpu process.
17 const char kEnableAcceleratedDecoding[] = "enable-accelerated-decoding"; 17 const char kEnableAcceleratedDecoding[] = "enable-accelerated-decoding";
18 18
19 // Enable x-adaptive URL scheme. 19 // Enable x-adaptive URL scheme.
20 const char kEnableAdaptive[] = "enable-adaptive"; 20 const char kEnableAdaptive[] = "enable-adaptive";
21 21
22 // Enable hardware decoding using OpenMax API. 22 // Enable hardware decoding using OpenMax API.
23 // In practice this is for ChromeOS ARM. 23 // In practice this is for ChromeOS ARM.
24 const char kEnableOpenMax[] = "enable-openmax"; 24 const char kEnableOpenMax[] = "enable-openmax";
25 25
26 // Set number of threads to use for video decoding. 26 // Set number of threads to use for video decoding.
27 const char kVideoThreads[] = "video-threads"; 27 const char kVideoThreads[] = "video-threads";
28 28
29 } // namespace switches 29 } // namespace switches
OLDNEW
« no previous file with comments | « media/base/media_switches.h ('k') | media/tools/shader_bench/shader_bench.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698