aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alsa.c')
-rw-r--r--Alc/alsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alsa.c b/Alc/alsa.c
index bb732fe7..24d96ba1 100644
--- a/Alc/alsa.c
+++ b/Alc/alsa.c
@@ -883,7 +883,7 @@ static void alsa_capture_samples(ALCdevice *pDevice, ALCvoid *pBuffer, ALCuint l
if(lSamples <= (ALCuint)RingBufferSize(data->ring))
ReadRingBuffer(data->ring, pBuffer, lSamples);
else
- SetALCError(ALC_INVALID_VALUE);
+ alcSetError(ALC_INVALID_VALUE);
}
static ALCuint alsa_available_samples(ALCdevice *pDevice)