summaryrefslogtreecommitdiff
path: root/spice.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-04-13 10:34:46 +0200
committerGerd Hoffmann <kraxel@redhat.com>2010-08-04 17:05:44 +0200
commit59bd95c8d2f5cc1b3b278abb774df0d7e43e1b18 (patch)
treedcc4563b04b090487953b4ff8547d099fd8a60d9 /spice.c
parentc05697c00ef323349389d31c33faf06bb576e774 (diff)
spice: add audio
Add support for the spice audio interface. The driver is first in the driver list, but can_be_default is set only in case spice is active. So if you are using spice the spice audio driver is the default one, otherwise whatever comes first after spice in the list. Overriding the default using QEMU_AUDIO_DRV works in any case.
Diffstat (limited to 'spice.c')
-rw-r--r--spice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/spice.c b/spice.c
index f24961b98..bc2f1686b 100644
--- a/spice.c
+++ b/spice.c
@@ -274,6 +274,7 @@ void qemu_spice_init(void)
using_spice = 1;
qemu_spice_input_init();
+ qemu_spice_audio_init();
qemu_free(x509_key_file);
qemu_free(x509_cert_file);