aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/pulseaudio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c
index 44ae427a..ee1499cf 100644
--- a/Alc/pulseaudio.c
+++ b/Alc/pulseaudio.c
@@ -600,6 +600,7 @@ static pa_context *connect_context(pa_threaded_mainloop *loop)
if(!PA_CONTEXT_IS_GOOD(state))
{
err = ppa_context_errno(context);
+ if(err > 0) err = -err;
break;
}