summaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-10-27 23:37:56 -0700
committerChris Robinson <[email protected]>2008-10-27 23:37:56 -0700
commit2c80a80704d70951cabeebb857eae5b16e03af62 (patch)
tree388656c1bec7223508a1f8781c94de3f8821e782 /Alc
parent301a4c4a95118586aefcce7cad93acfdd4870963 (diff)
Fix typo preventing capture from opening
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index ab0c7921..4a254f88 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -487,7 +487,7 @@ ALCAPI ALCdevice* ALCAPIENTRY alcCaptureOpenDevice(const ALCchar *deviceName, AL
InitAL();
- if(SampleSize > 0)
+ if(SampleSize <= 0)
{
SetALCError(ALC_INVALID_VALUE);
return NULL;