diff options
Diffstat (limited to 'Alc/pulseaudio.c')
-rw-r--r-- | Alc/pulseaudio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c index 9faead99..c010369e 100644 --- a/Alc/pulseaudio.c +++ b/Alc/pulseaudio.c @@ -910,7 +910,7 @@ static void pulse_capture_samples(ALCdevice *device, ALCvoid *buffer, ALCuint sa if(available+ppa_stream_readable_size(data->stream) < samples) { ppa_threaded_mainloop_unlock(data->loop); - alcSetError(ALC_INVALID_VALUE); + alcSetError(device, ALC_INVALID_VALUE); return; } |