From 239615f5ae0cea42a5e55472aa706e5190bb3d99 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 9 Nov 2020 16:53:18 +0100 Subject: [PATCH] pulse-server: improve some debug --- src/modules/module-protocol-pulse/pulse-server.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/module-protocol-pulse/pulse-server.c b/src/modules/module-protocol-pulse/pulse-server.c index 5b6b3cda4..a6c978d2f 100644 --- a/src/modules/module-protocol-pulse/pulse-server.c +++ b/src/modules/module-protocol-pulse/pulse-server.c @@ -747,6 +747,8 @@ static void stream_free(struct stream *stream) struct client *client = stream->client; struct impl *impl = client->impl; + pw_log_debug(NAME" %p: stream %p channel:%d", impl, stream, stream->channel); + /* force processing of all pending messages before we destroy * the stream */ pw_loop_invoke(impl->loop, NULL, 0, NULL, 0, false, client); @@ -1601,6 +1603,8 @@ static int do_create_playback_stream(struct client *client, uint32_t command, ui if (stream->stream == NULL) goto error_errno; + pw_log_debug(NAME" %p: new stream %p channel:%d", impl, stream, stream->channel); + pw_stream_add_listener(stream->stream, &stream->stream_listener, &stream_events, stream);