From 2205f91e5f602f33ee231e7b6e2a210241b9da13 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 31 May 2010 19:02:20 -0700 Subject: Fix Pulse mainloop handling for device probing --- Alc/pulseaudio.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Alc') diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c index 46f425ed..db9e06af 100644 --- a/Alc/pulseaudio.c +++ b/Alc/pulseaudio.c @@ -618,12 +618,10 @@ static void probe_devices(ALboolean capture) ppa_context_unref(context); } ppa_threaded_mainloop_unlock(loop); + ppa_threaded_mainloop_stop(loop); } if(loop) - { - ppa_threaded_mainloop_stop(loop); ppa_threaded_mainloop_free(loop); - } } -- cgit v1.2.3