From: Carsten W. <ca...@us...> - 2007-05-06 17:56:42
|
Update of /cvsroot/jake2/jake2/src/jake2/sound/joal In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv10300/src/jake2/sound/joal Modified Files: JOALSoundImpl.java Log Message: try to use EAX instead of checking extension Strings Index: JOALSoundImpl.java =================================================================== RCS file: /cvsroot/jake2/jake2/src/jake2/sound/joal/JOALSoundImpl.java,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** JOALSoundImpl.java 27 Feb 2007 13:44:17 -0000 1.24 --- JOALSoundImpl.java 6 May 2007 17:56:36 -0000 1.25 *************** *** 105,120 **** 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 initialized\n"); ! eax = null; ! } ! } else { ! Com.Printf("... EAX2.0 not found\n"); ! eax = null; ! } } --- 105,115 ---- private void initOpenALExtensions() { ! try { ! eax = EAXFactory.getEAX(); ! Com.Printf("... using EAX2.0\n"); ! } catch (Throwable e) { ! Com.Printf("... EAX2.0 not found\n"); ! eax = null; ! } } |