mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
pulse-server: improve some debug
This commit is contained in:
parent
cd3610367b
commit
239615f5ae
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue