From 2c80a80704d70951cabeebb857eae5b16e03af62 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 27 Oct 2008 23:37:56 -0700 Subject: [PATCH] Fix typo preventing capture from opening --- Alc/ALc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;