From 37b57caf1100e9f10d31daedd2159aa37153ac2f Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 15 Aug 2019 18:38:32 +0200 Subject: [PATCH] loop: pass loop as first argument in function --- spa/plugins/support/loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/support/loop.c b/spa/plugins/support/loop.c index a8ec3e371..d17411f91 100644 --- a/spa/plugins/support/loop.c +++ b/spa/plugins/support/loop.c @@ -135,7 +135,7 @@ loop_invoke(void *object, int res; if (in_thread) { - res = func(object, false, seq, data, size, user_data); + res = func(&impl->loop, false, seq, data, size, user_data); } else { int32_t filled; uint32_t avail, idx, offset, l0;