aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/oss.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/oss.c')
-rw-r--r--Alc/oss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/oss.c b/Alc/oss.c
index 64cf23c6..d0dbff80 100644
--- a/Alc/oss.c
+++ b/Alc/oss.c
@@ -457,7 +457,7 @@ static void oss_capture_samples(ALCdevice *pDevice, ALCvoid *pBuffer, ALCuint lS
if(lSamples <= (ALCuint)RingBufferSize(data->ring))
ReadRingBuffer(data->ring, pBuffer, lSamples);
else
- alcSetError(ALC_INVALID_VALUE);
+ alcSetError(pDevice, ALC_INVALID_VALUE);
}
static ALCuint oss_available_samples(ALCdevice *pDevice)