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,7 +3951,9 @@ qemuDomainDefSuggestDefaultAudioBackend(virQEMUDriver *driver,
|
|||||||
audioPassthrough = true;
|
audioPassthrough = true;
|
||||||
} else {
|
} else {
|
||||||
audioPassthrough = false;
|
audioPassthrough = false;
|
||||||
*audioBackend = VIR_DOMAIN_AUDIO_TYPE_NONE;
|
if (!*addAudio) {
|
||||||
|
*audioBackend = VIR_DOMAIN_AUDIO_TYPE_NONE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
*addAudio = true;
|
*addAudio = true;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user