From: Carsten W. <ca...@us...> - 2006-11-23 14:29:46
|
Update of /cvsroot/jake2/jake2/src/jake2/sound/joal In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv11462/src/jake2/sound/joal Modified Files: JOALSoundImpl.java Log Message: use a more stable EAX extension handling Index: JOALSoundImpl.java =================================================================== RCS file: /cvsroot/jake2/jake2/src/jake2/sound/joal/JOALSoundImpl.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** JOALSoundImpl.java 24 Oct 2006 22:51:20 -0000 1.16 --- JOALSoundImpl.java 23 Nov 2006 14:29:42 -0000 1.17 *************** *** 123,128 **** private void initOpenALExtensions() { if (al.alIsExtensionPresent("EAX2.0")) { ! Com.Printf("... using EAX2.0\n"); ! eax = EAXFactory.getEAX(); } else { Com.Printf("... EAX2.0 not found\n"); --- 123,133 ---- private void initOpenALExtensions() { if (al.alIsExtensionPresent("EAX2.0")) { ! try { ! eax = EAXFactory.getEAX(); ! Com.Printf("... using EAX2.0\n"); ! } catch (Throwable e) { ! Com.Printf("... EAX2.0 not found\n"); ! eax = null; ! } } else { Com.Printf("... EAX2.0 not found\n"); |