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

Unified Diff: media/media_options.gni

Issue 1678103007: [Chromecast] Set use_alsa=true by default on Chromecast platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« media/media.gyp ('K') | « media/media.gyp ('k') | media/midi/midi.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/media_options.gni
diff --git a/media/media_options.gni b/media/media_options.gni
index 5918237b13ee536438c4faffc55a7287ce5899ad..449825e4e09a81161c840e057dc03c5d6a290ed3 100644
--- a/media/media_options.gni
+++ b/media/media_options.gni
@@ -63,12 +63,12 @@ declare_args() {
# Enables runtime selection of ALSA library for audio.
use_alsa = false
- # Alsa should be used on non-Android, non-Mac POSIX systems, and Chromecast
- # builds for desktop Linux.
- if (is_posix && !is_headless && !is_android && !is_mac &&
- (!is_chromecast || is_cast_desktop_build)) {
+ # Alsa should be used on non-Android, non-Mac POSIX systems.
+ if (is_posix && !is_headless && !is_android && !is_mac) {
use_alsa = true
- if (!use_cras) {
+
+ # Pulse is not supported on Chromecast platforms.
+ if (!use_cras && !is_chromecast) {
use_pulseaudio = true
}
}
« media/media.gyp ('K') | « media/media.gyp ('k') | media/midi/midi.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698