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

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

Issue 1230793009: Initial support for the desktop media pipeline on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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. 9 // Allow users to specify a custom buffer size for debugging purpose.
10 const char kAudioBufferSize[] = "audio-buffer-size"; 10 const char kAudioBufferSize[] = "audio-buffer-size";
11 11
12 // Disables the new vsync driven video renderering path. 12 // Disables the new vsync driven video renderering path.
13 const char kDisableNewVideoRenderer[] = "disable-new-video-renderer"; 13 const char kDisableNewVideoRenderer[] = "disable-new-video-renderer";
14 14
15 // Set number of threads to use for video decoding. 15 // Set number of threads to use for video decoding.
16 const char kVideoThreads[] = "video-threads"; 16 const char kVideoThreads[] = "video-threads";
17 17
18 #if defined(OS_ANDROID) 18 #if defined(OS_ANDROID)
19 // Use the desktop media pipeline on Android. Experimental, see
20 // http://crbug.com/507834.
21 // This will only have an effect if compiled with media_use_ffmpeg=1.
22 const char kEnableMediaPipelineOnAndroid[] = "enable-media-pipeline-on-android";
23
19 // Sets the MediaSource player that uses the separate media thread 24 // Sets the MediaSource player that uses the separate media thread
20 const char kEnableMediaThreadForMediaPlayback[] = 25 const char kEnableMediaThreadForMediaPlayback[] =
21 "enable-media-thread-for-media-playback"; 26 "enable-media-thread-for-media-playback";
22 #endif 27 #endif
23 28
24 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) 29 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS)
25 // The Alsa device to use when opening an audio input stream. 30 // The Alsa device to use when opening an audio input stream.
26 const char kAlsaInputDevice[] = "alsa-input-device"; 31 const char kAlsaInputDevice[] = "alsa-input-device";
27 // The Alsa device to use when opening an audio stream. 32 // The Alsa device to use when opening an audio stream.
28 const char kAlsaOutputDevice[] = "alsa-output-device"; 33 const char kAlsaOutputDevice[] = "alsa-output-device";
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // this flag will cause the tests to fail. Otherwise, they silently succeed. 118 // this flag will cause the tests to fail. Otherwise, they silently succeed.
114 const char kRequireAudioHardwareForTesting[] = 119 const char kRequireAudioHardwareForTesting[] =
115 "require-audio-hardware-for-testing"; 120 "require-audio-hardware-for-testing";
116 121
117 // Allows clients to override the threshold for when the media renderer will 122 // Allows clients to override the threshold for when the media renderer will
118 // declare the underflow state for the video stream when audio is present. 123 // declare the underflow state for the video stream when audio is present.
119 // TODO(dalecurtis): Remove once experiments for http://crbug.com/470940 finish. 124 // TODO(dalecurtis): Remove once experiments for http://crbug.com/470940 finish.
120 const char kVideoUnderflowThresholdMs[] = "video-underflow-threshold-ms"; 125 const char kVideoUnderflowThresholdMs[] = "video-underflow-threshold-ms";
121 126
122 } // namespace switches 127 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698