From: Carsten W. <ca...@us...> - 2007-05-11 20:34:00
|
Update of /cvsroot/jake2/jake2/src/jake2/sound/lwjgl In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv3231/src/jake2/sound/lwjgl Modified Files: LWJGLSoundImpl.java Log Message: update to lwjgl 1.1 (bugfix release) Index: LWJGLSoundImpl.java =================================================================== RCS file: /cvsroot/jake2/jake2/src/jake2/sound/lwjgl/LWJGLSoundImpl.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** LWJGLSoundImpl.java 26 Oct 2006 22:02:55 -0000 1.9 --- LWJGLSoundImpl.java 11 May 2007 20:33:53 -0000 1.10 *************** *** 9,13 **** import jake2.Defines; import jake2.Globals; ! import jake2.game.*; import jake2.qcommon.*; import jake2.sound.*; --- 9,15 ---- import jake2.Defines; import jake2.Globals; ! import jake2.game.Cmd; ! import jake2.game.cvar_t; ! import jake2.game.entity_state_t; import jake2.qcommon.*; import jake2.sound.*; *************** *** 16,19 **** --- 18,22 ---- import java.nio.*; + import org.lwjgl.LWJGLException; import org.lwjgl.openal.*; *************** *** 103,112 **** } ! String defaultSpecifier = ALC.alcGetString(ALC.ALC_DEFAULT_DEVICE_SPECIFIER); Com.Printf(os + " using " + ((deviceName == null) ? defaultSpecifier : deviceName) + '\n'); // Check for an error. ! if (ALC.alcGetError() != ALC.ALC_NO_ERROR) { Com.DPrintf("Error with SoundDevice"); --- 106,115 ---- } ! String defaultSpecifier = ALC10.alcGetString(AL.getDevice(), ALC10.ALC_DEFAULT_DEVICE_SPECIFIER); Com.Printf(os + " using " + ((deviceName == null) ? defaultSpecifier : deviceName) + '\n'); // Check for an error. ! if (ALC10.alcGetError(AL.getDevice()) != ALC10.ALC_NO_ERROR) { Com.DPrintf("Error with SoundDevice"); |