aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/pulseaudio.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/pulseaudio.c')
-rw-r--r--Alc/pulseaudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c
index bfea9947..d5dcf1df 100644
--- a/Alc/pulseaudio.c
+++ b/Alc/pulseaudio.c
@@ -656,7 +656,7 @@ static void pulse_capture_samples(ALCdevice *device, ALCvoid *buffer, ALCuint sa
ALCuint available = RingBufferSize(data->ring);
if(available < samples)
- SetALCError(ALC_INVALID_VALUE);
+ alcSetError(ALC_INVALID_VALUE);
else
ReadRingBuffer(data->ring, buffer, samples);
} //}}}