Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
elmarco committed Jul 17, 2023
1 parent 3b28760 commit 87048d2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions audio/pwaudio.c
Expand Up @@ -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);
Expand Down

0 comments on commit 87048d2

Please sign in to comment.