aboutsummaryrefslogtreecommitdiff
path: root/audio/trace-events
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2021-03-09 17:15:28 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2021-12-21 10:50:22 +0400
commit739362d4205cd90686118fe5af3e236c2f8c6be9 (patch)
tree10d27d3efc227f29ffee0dd02d345e0faa707623 /audio/trace-events
parentb4dd5b6a60eb525437c8d315d0d59dc25d4e4cb1 (diff)
downloadqemu-739362d4205cd90686118fe5af3e236c2f8c6be9.zip
qemu-739362d4205cd90686118fe5af3e236c2f8c6be9.tar.gz
qemu-739362d4205cd90686118fe5af3e236c2f8c6be9.tar.bz2
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 'audio/trace-events')
-rw-r--r--audio/trace-events5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/trace-events b/audio/trace-events
index 957c923..e1ab643 100644
--- a/audio/trace-events
+++ b/audio/trace-events
@@ -13,6 +13,11 @@ alsa_resume_out(void) "Resuming suspended output stream"
# ossaudio.c
oss_version(int version) "OSS version = 0x%x"
+# dbusaudio.c
+dbus_audio_register(const char *s, const char *dir) "sender = %s, dir = %s"
+dbus_audio_put_buffer_out(size_t len) "len = %zu"
+dbus_audio_read(size_t len) "len = %zu"
+
# audio.c
audio_timer_start(int interval) "interval %d ms"
audio_timer_stop(void) ""