Browse Source

missed a line of audio capture code (fixes #96)

Bill Meltsner 15 years ago
parent
commit
9c4f04cc5c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/audio/openal/Audio.cpp

+ 1 - 1
src/modules/audio/openal/Audio.cpp

@@ -80,7 +80,7 @@ namespace openal
 		
 		
 		alcMakeContextCurrent(0);
 		alcMakeContextCurrent(0);
 		alcDestroyContext(context);
 		alcDestroyContext(context);
-		if (capture) alcCaptureCloseDevice(capture);
+		//if (capture) alcCaptureCloseDevice(capture);
 		alcCloseDevice(device);
 		alcCloseDevice(device);
 	}
 	}