Configure audio device to best match the display
This commit is contained in:
parent
9b5a6a44ac
commit
d0a59e161d
5
quickemu
5
quickemu
@ -662,8 +662,9 @@ function vm_boot() {
|
||||
|
||||
# Setup the appropriate audio device based on the display output
|
||||
case ${OUTPUT} in
|
||||
spice|spice-app|none) AUDIO_DEV="spice,id=audio0";;
|
||||
*) AUDIO_DEV="pa,id=audio0,out.mixing-engine=off,out.stream-name=${LAUNCHER}-${VMNAME},in.stream-name=${LAUNCHER}-${VMNAME}";;
|
||||
none|spice|spice-app) AUDIO_DEV="spice,id=audio0";;
|
||||
sdl) AUDIO_DEV="sdl,id=audio0";;
|
||||
*) AUDIO_DEV="pa,id=audio0";;
|
||||
esac
|
||||
|
||||
# Determine a sane resolution for Linux guests.
|
||||
|
Loading…
Reference in New Issue
Block a user