diff options
-rw-r--r-- | Alc/pulseaudio.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c index 0b905d58..4b28ccce 100644 --- a/Alc/pulseaudio.c +++ b/Alc/pulseaudio.c @@ -486,8 +486,9 @@ static ALCboolean pulse_open(ALCdevice *device, const ALCchar *device_name) //{{ { if(!PA_CONTEXT_IS_GOOD(state)) { - AL_PRINT("Context did not get ready: %s\n", - ppa_strerror(ppa_context_errno(data->context))); + int err = ppa_context_errno(data->context); + if(err != PA_ERR_CONNECTIONREFUSED) + AL_PRINT("Context did not get ready: %s\n", ppa_strerror(err)); ppa_context_unref(data->context); data->context = NULL; |