diff options
author | Chris Robinson <[email protected]> | 2009-12-26 12:18:16 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-12-26 12:18:16 -0800 |
commit | 1770a8b62bf692be37c719cd18a03654dcc567a6 (patch) | |
tree | 54c8e83f504c28f4fea513f15b189c0a2324d3b6 /Alc/pulseaudio.c | |
parent | 77a0a6de9542296b9c7776041e9fb3c512b8fffc (diff) |
A NULL Pulse context won't have a valid error code
Diffstat (limited to 'Alc/pulseaudio.c')
-rw-r--r-- | Alc/pulseaudio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c index 57438bb7..1d3e38f8 100644 --- a/Alc/pulseaudio.c +++ b/Alc/pulseaudio.c @@ -400,8 +400,7 @@ static ALCboolean pulse_open(ALCdevice *device, const ALCchar *device_name) //{{ data->context = ppa_context_new(ppa_threaded_mainloop_get_api(data->loop), data->context_name); if(!data->context) { - AL_PRINT("pa_context_new() failed: %s\n", - ppa_strerror(ppa_context_errno(data->context))); + AL_PRINT("pa_context_new() failed\n"); ppa_threaded_mainloop_unlock(data->loop); goto out; |