diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-05-06 20:37:29 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-07-17 15:22:56 +0400 |
commit | 87048d20e64d5613ad08c59acfb0529d7f82ae70 (patch) | |
tree | 5cfb3b11a7ee8bdcb80d1f9d1c1551cf556f3ba8 /audio/pwaudio.c | |
parent | 3b2876086b2c5a23a82d70eeb9f2b68c833c2809 (diff) |
audio/pw: trace during init before calling pipewire API
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Volker Rümelin <vr_qemu@t-online.de>
Message-Id: <20230506163735.3481387-7-marcandre.lureau@redhat.com>
Diffstat (limited to 'audio/pwaudio.c')
-rw-r--r-- | audio/pwaudio.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/audio/pwaudio.c b/audio/pwaudio.c index 6ca4ef4f62..2b12b40934 100644 --- a/audio/pwaudio.c +++ b/audio/pwaudio.c @@ -784,10 +784,11 @@ static void * qpw_audio_init(Audiodev *dev) { g_autofree pwaudio *pw = g_new0(pwaudio, 1); - pw_init(NULL, NULL); - trace_pw_audio_init(); assert(dev->driver == AUDIODEV_DRIVER_PIPEWIRE); + trace_pw_audio_init(); + + pw_init(NULL, NULL); pw->dev = dev; pw->thread_loop = pw_thread_loop_new("PipeWire thread loop", NULL); |