mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +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
9ecbd4c326
@ -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