diff options
author | Marc-André Lureau | 2021-03-09 14:15:28 +0100 |
---|---|---|
committer | Marc-André Lureau | 2021-12-21 07:50:22 +0100 |
commit | 739362d4205cd90686118fe5af3e236c2f8c6be9 (patch) | |
tree | 10d27d3efc227f29ffee0dd02d345e0faa707623 /qemu-options.hx | |
parent | tests: start dbus-display-test (diff) | |
download | qemu-739362d4205cd90686118fe5af3e236c2f8c6be9.tar.gz qemu-739362d4205cd90686118fe5af3e236c2f8c6be9.tar.xz qemu-739362d4205cd90686118fe5af3e236c2f8c6be9.zip |
audio: add "dbus" audio backend
Add a new -audio backend that accepts D-Bus clients/listeners to handle
playback & recording, to be exported via the -display dbus.
Example usage:
-audiodev dbus,in.mixing-engine=off,out.mixing-engine=off,id=dbus
-display dbus,audiodev=dbus
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qemu-options.hx')
-rw-r--r-- | qemu-options.hx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qemu-options.hx b/qemu-options.hx index 977e0873a1..7d47510947 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -660,6 +660,9 @@ DEF("audiodev", HAS_ARG, QEMU_OPTION_audiodev, #ifdef CONFIG_SPICE "-audiodev spice,id=id[,prop[=value][,...]]\n" #endif +#ifdef CONFIG_DBUS_DISPLAY + "-audiodev dbus,id=id[,prop[=value][,...]]\n" +#endif "-audiodev wav,id=id[,prop[=value][,...]]\n" " path= path of wav file to record\n", QEMU_ARCH_ALL) |