Configure audio device to best match the display

pull/535/head
Martin Wimpress 2 years ago
parent 9b5a6a44ac
commit d0a59e161d
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
  1. 5
      quickemu

@ -662,8 +662,9 @@ function vm_boot() {
# Setup the appropriate audio device based on the display output # Setup the appropriate audio device based on the display output
case ${OUTPUT} in case ${OUTPUT} in
spice|spice-app|none) AUDIO_DEV="spice,id=audio0";; none|spice|spice-app) AUDIO_DEV="spice,id=audio0";;
*) AUDIO_DEV="pa,id=audio0,out.mixing-engine=off,out.stream-name=${LAUNCHER}-${VMNAME},in.stream-name=${LAUNCHER}-${VMNAME}";; sdl) AUDIO_DEV="sdl,id=audio0";;
*) AUDIO_DEV="pa,id=audio0";;
esac esac
# Determine a sane resolution for Linux guests. # Determine a sane resolution for Linux guests.

Loading…
Cancel
Save