From f6670a1f2e0407e22226713bdf6fc6db68383b68 Mon Sep 17 00:00:00 2001 From: Arthur Taylor Date: Tue, 9 Sep 2008 20:28:20 -0700 Subject: [PATCH] stream_started_callback userdata bug Hello I came across a bug where the userdata parameter of the stream_started_callback was always NULL in some cases. I couldn't seem to make a ticket, so here's the one line patch: Signed-off-by: Lennart Poettering --- src/pulse/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pulse/stream.c b/src/pulse/stream.c index 5be6007..6890b7a 100644 --- a/src/pulse/stream.c +++ b/src/pulse/stream.c @@ -557,7 +557,7 @@ void pa_command_stream_started(pa_pdispatch *pd, uint32_t command, uint32_t tag, request_auto_timing_update(s, TRUE); if (s->started_callback) - s->started_callback(s, s->suspended_userdata); + s->started_callback(s, s->started_userdata); finish: pa_context_unref(c); -- 2.7.4