qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 06/12] audio/pw: trace during init before calling pipewire AP


From: Volker Rümelin
Subject: Re: [PATCH 06/12] audio/pw: trace during init before calling pipewire API
Date: Sun, 7 May 2023 17:03:12 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1

From: Marc-André Lureau <marcandre.lureau@redhat.com>

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
  audio/pwaudio.c | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)

Reviewed-by: Volker Rümelin <vr_qemu@t-online.de>

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);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]