mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-30 09:35:23 +00:00
Merge branch 'spice-vnc-default-audio-backend' into 'master'
src/qemu/qemu_domain.c: Fix overriding audioBackend in qemuDomainDefSuggestDefaultAudioBackend See merge request libvirt/libvirt!271
This commit is contained in:
commit
5609eed33f
@ -3951,8 +3951,10 @@ qemuDomainDefSuggestDefaultAudioBackend(virQEMUDriver *driver,
|
||||
audioPassthrough = true;
|
||||
} else {
|
||||
audioPassthrough = false;
|
||||
if (!*addAudio) {
|
||||
*audioBackend = VIR_DOMAIN_AUDIO_TYPE_NONE;
|
||||
}
|
||||
}
|
||||
*addAudio = true;
|
||||
break;
|
||||
case VIR_DOMAIN_GRAPHICS_TYPE_SPICE:
|
||||
|
Loading…
Reference in New Issue
Block a user