| Index: media/media_options.gni
|
| diff --git a/media/media_options.gni b/media/media_options.gni
|
| index 55f247be23834d266782b92b204ee96c792faf0e..33b39199f9421ee24cd0891319ab918a7fd7d963 100644
|
| --- a/media/media_options.gni
|
| +++ b/media/media_options.gni
|
| @@ -55,7 +55,9 @@ declare_args() {
|
| use_alsa = false
|
|
|
| # Alsa should be used on non-Android, non-Mac POSIX systems.
|
| - if (is_posix && !is_android && !is_mac) {
|
| + # Alsa should be used on desktop Chromecast and audio-only Chromecast builds.
|
| + if (is_posix && !is_android && !is_mac &&
|
| + (!is_chromecast || is_cast_desktop_build || disable_display)) {
|
| use_alsa = true
|
|
|
| # Pulse is not supported on Chromecast platforms.
|
|
|