meson: Add SDL to audio driver priority list on Linux

This commit is contained in:
Matt Borgerson 2025-01-15 02:20:05 -07:00 committed by mborgerson
parent 6de26b0c2c
commit 6f63e3c4af
1 changed files with 1 additions and 2 deletions

View File

@ -2406,8 +2406,7 @@ if have_system
# Default to native drivers first, OSS second, SDL third
audio_drivers_priority = \
[ 'pa', 'coreaudio', 'dsound', 'sndio', 'oss' ] + \
(host_os == 'linux' ? [] : [ 'sdl' ])
[ 'pa', 'coreaudio', 'dsound', 'sndio', 'oss', 'sdl' ]
audio_drivers_default = []
foreach k: audio_drivers_priority
if audio_drivers_available[k]