Do not use SDL for audio. Close #542

The QEMU manpage states: "This backend is available on most systems, but you should use your platform’s native backend if possible."
This commit is contained in:
Martin Wimpress 2022-09-20 13:53:59 +01:00
parent e6b9954050
commit e97b57352c
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3

View File

@ -664,9 +664,9 @@ function vm_boot() {
fi
# Setup the appropriate audio device based on the display output
# https://www.kraxel.org/blog/2020/01/qemu-sound-audiodev/
case ${OUTPUT} in
none|spice|spice-app) AUDIO_DEV="spice,id=audio0";;
sdl) AUDIO_DEV="sdl,id=audio0";;
*) AUDIO_DEV="pa,id=audio0";;
esac