diff options
author | Chris Robinson <[email protected]> | 2010-05-31 19:02:20 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-05-31 19:02:20 -0700 |
commit | 2205f91e5f602f33ee231e7b6e2a210241b9da13 (patch) | |
tree | 22657713002b99c8a967a25b95c4cf44fd66e85e /Alc | |
parent | da1dee351dce20da4c46d0fbdf3054196359dee2 (diff) |
Fix Pulse mainloop handling for device probing
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/pulseaudio.c | 4 |
1 files changed, 1 insertions, 3 deletions
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); - } } |