mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-21 21:25: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
5609eed33f
@ -3951,8 +3951,10 @@ qemuDomainDefSuggestDefaultAudioBackend(virQEMUDriver *driver,
|
|||||||
audioPassthrough = true;
|
audioPassthrough = true;
|
||||||
} else {
|
} else {
|
||||||
audioPassthrough = false;
|
audioPassthrough = false;
|
||||||
|
if (!*addAudio) {
|
||||||
*audioBackend = VIR_DOMAIN_AUDIO_TYPE_NONE;
|
*audioBackend = VIR_DOMAIN_AUDIO_TYPE_NONE;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
*addAudio = true;
|
*addAudio = true;
|
||||||
break;
|
break;
|
||||||
case VIR_DOMAIN_GRAPHICS_TYPE_SPICE:
|
case VIR_DOMAIN_GRAPHICS_TYPE_SPICE:
|
||||||
|
Loading…
Reference in New Issue
Block a user