aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/pulseaudio.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-12-28 23:19:13 -0800
committerChris Robinson <[email protected]>2009-12-28 23:19:13 -0800
commit7ee81eac0fd1ecd719c906cfc8fc9a81fcf0ffbe (patch)
treea3b955467e7d67e7369d6f38b23910cffdbac367 /Alc/pulseaudio.c
parentc9a08fc7b235425058d3e28ddc46ae56dc726d7d (diff)
Store ALC errors with the device when possible
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 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;
}