From b95c7215e96c4880573c56d70d1d49d3b479cd67 Mon Sep 17 00:00:00 2001 From: Bill Meltsner Date: Tue, 12 Oct 2010 19:39:16 -0500 Subject: [PATCH] commented out the audio capture initialization stuff so that lovers don't get concerned by warnings about being unable to open a capture device --- src/modules/audio/openal/Audio.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/audio/openal/Audio.cpp b/src/modules/audio/openal/Audio.cpp index 12dff8ff0..aaa0c4703 100644 --- a/src/modules/audio/openal/Audio.cpp +++ b/src/modules/audio/openal/Audio.cpp @@ -47,7 +47,7 @@ namespace openal if(alcGetError(device) != ALC_NO_ERROR) throw love::Exception("Could not make context current."); - std::string captureName(alcGetString(NULL, ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER)); + /*std::string captureName(alcGetString(NULL, ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER)); const ALCchar * devices = alcGetString(NULL, ALC_CAPTURE_DEVICE_SPECIFIER); while (*devices) { std::string device(devices); @@ -62,7 +62,7 @@ namespace openal if (!capture) { // We're not going to prevent LOVE from running without a microphone, but we should warn, at least std::cerr << "Warning, couldn't open capture device! No audio input!" << std::endl; - } + }*/ // pool must be allocated after AL context. pool = new Pool();