summaryrefslogtreecommitdiffstats
path: root/src/java
Commit message (Collapse)AuthorAgeFilesLines
* Catches ExceptionInInitializerError instances when initializing ALFactoryJulien Gouesse2013-03-181-0/+2
|
* OpenAL Library Selection (Bug 662): Use String value of new property ↵Sven Gothel2013-02-012-36/+80
| | | | | | | | | | | | | | | | 'joal.openal.lib'. OSX: Prefer system OpenAL (nou OpenAL-Soft output device support) + * Select preferred OpenAL native library type via system properties, + * i.e. System-OpenAL or bundled Soft-OpenAL.<br/> + * If the preferred choice fails, implementation falls back to the other. + * <PRE> + -Djoal.openal.lib=auto Prefer System-OpenAL over bundled Soft-OpenAL for OSX. Prefer bundled Soft-OpenAL over System-OpenAL for all others. This is the default. + -Djoal.openal.lib=system Prefer System-OpenAL over bundled Soft-OpenAL for all. + -Djoal.openal.lib=soft Prefer bundled Soft-OpenAL over System-OpenAL for all. + </PRE> + * Note: You may use the 'jnlp.' prefix, allowing using above property names w/ Applets and WebStart, + * e.g. 'jnlp.joal.openal.lib=system'. + * </p>
* WavData.loadFromStream: Uses IOUtil.copyStream2ByteBuffer which fixes ↵Sven Gothel2013-02-012-15/+19
| | | | | | | loading on Android; Adding proper byteOrder swapping depending on input format. - Also added a few more test streams - Working Android test activity
* Android Build & Test ; WavLoader/Data javax.audio separation (part-1)Sven Gothel2013-01-315-65/+217
|
* Improve logic of Bug 662: Add a flag to favour OpenALSoftXerxes Rånby2013-01-301-0/+22
| | | | | | | | Default: prefer OpenAL-soft fallback to OpenAL System If property joal.SystemOpenAL is defined: then prefer OpenAL System fallback to OpenAL-soft Signed-off-by: Xerxes Rånby <[email protected]>
* Fix Bug 662: Add a flag to favour OpenALSoftXerxes Rånby2013-01-301-1/+1
| | | | Signed-off-by: Xerxes Rånby <[email protected]>
* Bug 662: Add a flag to favour OpenALSoftXerxes Rånby2013-01-301-9/+11
| | | | | | | | If the property jnlp.joal.SystemOpenAL or -Djoal.SystemOpenAL is defined then include the system OpenAL libnames. This will favour use of the bundled OpenALSoft by default. Signed-off-by: Xerxes Rånby <[email protected]>
* Bug 567 (part 1): add support for openal extensionsMichael Zucchi2013-01-253-1/+32
| | | | | | | Imported JOAL specific parts from the patch made by Michael Zucchi. Author: Michael Zucchi <[email protected]> Signed-off-by: Xerxes Rånby <[email protected]>
* Adapt to gluegen commit 9a71703904ebfec343fb2c7266343d37a2e4c3dbv2.0-rc10Sven Gothel2012-06-261-1/+2
|
* Adapt to gluegen commit 1c03dfd6d1939a46018583419956e350e531f4feSven Gothel2012-03-261-1/+14
|
* Fix regression, adapt to GlueGen PropertyAccess changes, commit ↵Sven Gothel2012-03-181-0/+4
| | | | f4ac27e177f6deb444280d3b375e7d343e38bd08
* Adapt to gluegen commit f4ac27e177f6deb444280d3b375e7d343e38bd080 ↵Sven Gothel2012-03-131-84/+4
| | | | (Properties/Security)
* Fix bug 550, JOAL lacks Platform.initSingleton() call - Using TempJarCache ↵Sven Gothel2012-01-041-0/+2
| | | | reveals unresolved initialization dependency leading to NPE in NativeLibrary
* Add TempJarCache usageSven Gothel2011-12-181-9/+25
|
* Adapt to gluegen commit 90ff6c401934121395fa4a127e8b889106fda07aSven Gothel2011-08-221-1/+5
|
* Move implementation private files from com.jogamp.<module>.impl. to ↵Sven Gothel2011-02-094-4/+4
| | | | | | | | | | | | jogamp.<module> (2/2) - edit files - jogamp.openal -> jogamp.openal This sorts implementation details from the top level, ie skipping the public 'com', allowing a better seperation of public classes and implementation details and also reduces strings. This approach of public/private seperation is also used in the OpenJDK.
* Move implementation private files from com.jogamp.<module>.impl. to ↵Sven Gothel2011-02-093-0/+0
| | | | | | | | | | | | jogamp.<module> (1/2) - rename files - com.jogamp.openal.impl -> jogamp.openal This sorts implementation details from the top level, ie skipping the public 'com', allowing a better seperation of public classes and implementation details and also reduces strings. This approach of public/private seperation is also used in the OpenJDK.
* Window Support added ; Win64 libs & license filesSven Gothel2010-12-133-8/+175
| | | | | | | | | | | | | | - plays on linux/window now - ant build files fixed -> Windows support - windows OpenAL 32/64 bit: see make/lib/FILES.txt make/lib/oalinst-license.txt) - linux libs: added .1 to suffix - added Debug impl - catch EAX init exception (ie unsatisfied link error) - EAX proper blocked init TODO: - check on osx - joal-demos
* Bring back JOAL (code fixes and project structure)Sven Gothel2010-12-136-373/+112
| | | | | | | | | | | | | | | - Use GlueGen DynamicLibraryBundle - Fix alGetString - Proper test/junit structure - NB project fix - add artifacts.properties and jar's manifest - proper ZIP file structure TODO: - check on windows and osx - actually hear a sound - add jnlp file template - joal-demos
* fixed alcGetString functionpointer mapping (gluegen does not handle method ↵Michael Bien2010-07-102-9/+99
| | | | | | renames correctly). ALCImpl is now ALCAbstractImpl. "Custom code" is now in ALCImpl which extends ALCAbstractImpl.
* EAXFactory initializes JOAL if nessesary.Michael Bien2010-07-102-103/+91
|
* joal_native is now joal.Michael Bien2010-07-102-2/+2
|
* removed BufferUtils since we have now Buffers in gluegen-rt.Michael Bien2010-07-081-266/+0
|
* modifications due do refactoring in gluegen/ProcAddressTable.Michael Bien2010-04-241-2/+2
|
* modifications due to class movement in gluegen.Michael Bien2010-03-311-0/+2
|
* renamed package to com.jogamp.openal.*Michael Bien2010-03-2919-35/+40
|
* NativeLibrary.lookupFunction -> dynamicLookupFunctionMichael Bien2010-03-281-1/+1
|
* refactoring due to gluegen changes.Michael Bien2010-03-272-2/+2
| | | | - renamed com.sun.gluegen.runtime -> com.jogamp.gluegen.runtime.
* Fixed bug in net.java.games.sound3d.Buffer.configure() pointed out bykbr2007-12-051-0/+1
| | | | | | java.net user danao git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@716 03bf7f67-59de-4072-a415-9a990d468a3f
* Synced loadLibraryInternal implementation with JNLPAppletLauncher'skbr2007-07-211-1/+12
| | | | | | recommended code git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@581 03bf7f67-59de-4072-a415-9a990d468a3f
* Incorporated changes from Ultraq on javagaming.org forums for properlykbr2007-06-291-0/+45
| | | | | | looking up EFX entry points git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@557 03bf7f67-59de-4072-a415-9a990d468a3f
* Added support for the new JNLPAppletLauncher ↵kbr2007-06-281-2/+20
| | | | | | (http://applet-launcher.dev.java.net/) git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@555 03bf7f67-59de-4072-a415-9a990d468a3f
* Fixed Issue 18: Added InputStream support for Buffer Creation for AudioSystem3Dkbr2007-05-151-4/+54
| | | | | | Applied patch from conzar and also added symmetric loadSource(InputStream). git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@527 03bf7f67-59de-4072-a415-9a990d468a3f
* Fixed Issue 17: EAX doesn't work because of wrong native lib namekbr2007-05-071-1/+1
| | | | | | Fixed loadLibrary() call to point to correct library. git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@518 03bf7f67-59de-4072-a415-9a990d468a3f
* Deleted the obsolete Version class, updated the specification versionkbr2006-12-071-104/+0
| | | | | | to 1.1.0, and updated the build number to 1.1.0-beta4 git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@377 03bf7f67-59de-4072-a415-9a990d468a3f
* Added file missed during last checkinkbr2006-12-051-0/+85
| | | | git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@375 03bf7f67-59de-4072-a415-9a990d468a3f
* Fixed JOGL Issue 256: Bad call to JOAL's NativeLibLoader.disableLoading in ↵kbr2006-12-052-85/+0
| | | | | | | | | | JOGLAppletLauncher Moved JOAL's NativeLibLoader to net.java.games.joal.impl package and made it public to be more easily accessible and to follow patterns in GlueGen and JOGL. Re-tested JOAL applet test. git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@374 03bf7f67-59de-4072-a415-9a990d468a3f
* Added support for using JOAL alongside JOGL in JOGLAppletLauncher. Ifkbr2006-12-041-18/+33
| | | | | | | | | | | | | JOAL classes are detected, will download, install and load JOAL's native libraries as well as JOGL's. Added NativeLibLoader.disable() method to JOAL to support this. Added code to JOGLAppletLauncher to detect if -Dsun.java2d.noddraw=true was missing from deployment.properties and if so to prompt user about adding it automatically. Fixed bug in new per-native-library timestamp code. Refactored JOAL SingleStaticSource demo to make it easier to embed in an applet. git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@371 03bf7f67-59de-4072-a415-9a990d468a3f
* Added ALut.alutExit() on request of Carsten Weisse from Jake2 teamkbr2006-12-021-12/+44
| | | | git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@369 03bf7f67-59de-4072-a415-9a990d468a3f
* Fixed UnsatisfiedLinkError provoked by EAXFactorykbr2006-11-241-5/+0
| | | | git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@358 03bf7f67-59de-4072-a415-9a990d468a3f
* Fixed run-time breakage due to NativeLibrary usage in JOAL. Addedkbr2006-09-031-1/+1
| | | | | | search of Frameworks directory for NativeLibrary on Mac OS X. git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@284 03bf7f67-59de-4072-a415-9a990d468a3f
* Changed NativeLibrary.open() to accept boolean argument indicatingkbr2006-08-272-18/+26
| | | | | | | | | | | | | | | | | whether to search the system path first; perhaps useful if applications ship only a backup version of native libraries associated with a particular Java binding. In the case of JOAL we plan to ship a recent OpenAL implementation so we will not need to search the system path first. Changed ForceProcAddressGen directive to force call-through-function-pointer semantics for the targeted function. Changed JOAL to not link directly against the OpenAL library at all, but instead to look up all entry points using the GlueGen NativeLibrary class (instead of the custom dlsym code, now removed) in particular to solve DSO versioning problems on Linux. Updated EAX binding to work with dynamically loading OpenAL. Tested on Windows so far; more testing needed on Linux in Java Web Start scenarios. git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@269 03bf7f67-59de-4072-a415-9a990d468a3f
* Added NativeLibrary helper class to com.sun.gluegen.runtime package,kbr2006-08-011-0/+16
| | | | | | | | | | | | | | | | | | | | principally to generally solve the problem of downloading dependent libraries of GlueGen-generated native code, as in the case of JOAL and OpenAL reported recently by Shawn Kendall on JOAL forums. Autogenerated Java and native code associated with this new NativeLibrary helper class is currently checked in to the GlueGen workspace to make it easier to build across multiple platforms; it can be regenerated by running the generate.nativelibrary.sources Ant target in the GlueGen workspace. Building of the native code in the GlueGen workspace is currently disabled by default and can be enabled by specifying -Dbuild.native=1 on the ant command line. Use of the new NativeLibrary class in JOAL is currently disabled by default and can be enabled by specifying -Djoal.use.gluegen=1 to applications using JOAL. New functionality has been lightly tested with JOAL on Windows and appears to be working. More testing, including build and Java Web Start deployment testing, to follow on other platforms. git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@241 03bf7f67-59de-4072-a415-9a990d468a3f
* Removed public ALFactory constructorkbr2006-01-301-0/+2
| | | | git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@107 03bf7f67-59de-4072-a415-9a990d468a3f
* Javadoc fixes; removed Version.java from core package (now in utilkbr2006-01-302-105/+1
| | | | | | | package) git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@106 03bf7f67-59de-4072-a415-9a990d468a3f
* Moved GlueGen out of the JOGL workspace and into its own project.kbr2006-01-151-0/+92
| | | | | | | | | | | | | | | | Restructured JOGL and JOAL build processes to separately invoke GlueGen's main build.xml before using it to generate their code. Refactored OS/CPU detection code into gluegen-cpptasks.xml build file in GlueGen workspace, which is now imported by both the JOGL and JOAL build processes. Unfortunately it seems to be somewhat difficult to completely factor out the C compiler configuration into the GlueGen workspace so this has been left for a later date. Added missed ALProcAddressLookup file to JOAL workspace. Updated JOGL and JOAL build documentation. More documentation for the GlueGen workspace is forthcoming. git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@103 03bf7f67-59de-4072-a415-9a990d468a3f
* Merged gluegen-branch-1-0 on to the main JOAL trunk. JOAL is now builtkbr2006-01-1026-3803/+912
| | | | | | | | using GlueGen and currently requires a built JOGL workspace as a sibling workspace of the JOAL workspace. git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@101 03bf7f67-59de-4072-a415-9a990d468a3f
* Fixed issue 6 : Unable to terminate JOAL program with CRTL-C or kill Pid.jada2005-01-201-6/+5
| | | | git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@95 03bf7f67-59de-4072-a415-9a990d468a3f
* changed JOALVersion to Versionathomas2004-02-182-48/+104
| | | | git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@87 03bf7f67-59de-4072-a415-9a990d468a3f
* merged mac osx build fileathomas2003-11-231-23/+3
| | | | git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@73 03bf7f67-59de-4072-a415-9a990d468a3f