diff options
Diffstat (limited to 'Alc/backends/pulseaudio.c')
-rw-r--r-- | Alc/backends/pulseaudio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Alc/backends/pulseaudio.c b/Alc/backends/pulseaudio.c index 0b1d9521..80fdea55 100644 --- a/Alc/backends/pulseaudio.c +++ b/Alc/backends/pulseaudio.c @@ -1402,6 +1402,7 @@ ALCboolean alc_pulse_init(BackendFuncs *func_list) //{{{ context = connect_context(loop, AL_TRUE); if(context) { + *func_list = pulse_funcs; ret = ALC_TRUE; pa_context_disconnect(context); @@ -1414,8 +1415,6 @@ ALCboolean alc_pulse_init(BackendFuncs *func_list) //{{{ pa_threaded_mainloop_free(loop); } - if(ret != ALC_FALSE) - *func_list = pulse_funcs; return ret; } //}}} |