summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* WavData.loadFromStream: Uses IOUtil.copyStream2ByteBuffer which fixes ↵Sven Gothel2013-02-017-21/+69
| | | | | | | loading on Android; Adding proper byteOrder swapping depending on input format. - Also added a few more test streams - Working Android test activity
* Fix regression .. now use 'com.jogamp.openal.UnsupportedAudioFileException'Sven Gothel2013-01-311-3/+8
|
* Android Build & Test ; WavLoader/Data javax.audio separation (part-1)Sven Gothel2013-01-3112-106/+1054
|
* Build Cleanup for Android, Misc changes ..Sven Gothel2013-01-311-1/+1
| | | | | | | | | | | | | | | | - Add 'c.build.openal.soft.android' task using GCC_VERSION -> ANDROID_TOOLCHAIN_VERSION NDK_ROOT -> ANDROID_NDK PATH_VANILLA -> PATH - Copy openal-soft lib to ${rootrel.build}/obj, to be picked up by jar and appt archiving tasks - Android build script: - Bump to GCC_VERSION 4.7 - Add PATH_VANILLA, i.e. PATH before adding cross-compile tools 'gcc' - Sound3DTest: Fix package name
* JOAL Fixes: GlueGen, OpenAL Header, Added scripts/tests.sh,Sven Gothel2013-01-311-4/+8
| | | | | | | | | | | | | | | - OpenAL Header - Unique declaration in al-types.h and alc-types.h, remove duplicates in al.h and alc.h - Use ALproc and ALCproc for opaque pointer return values - GlueGen Fixes - Remove duplicates in extension classes ALExt and ALExtConstants - Push all common configurations to joal-common.cfg - Complete ArgumentIsString for ALC methods - Added scripts/tests.sh for convenient manual testing of single unit test -
* Fix exception logic and dest buffer in ALExtLoopbackDeviceSOFTTestXerxes Rånby2013-01-301-3/+3
| | | | | | | Do not expect exceptions to happen under normal execution and fill the destination buffer instead of the source buffer. Signed-off-by Xerxes Rånby <[email protected]>
* 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]>
* Improve ALExtLoopbackDeviceSOFTTest to list all available OpenAL extensions.Xerxes Rånby2013-01-301-6/+9
| | | | Signed-off-by: Xerxes Rånby <[email protected]>
* Bug 567 (part 3): add support for openal extensionsMichael Zucchi2013-01-291-0/+106
| | | | | | | Imported the ALExtLoopbackDeviceSOFTTest junit test. Author: Michael Zucchi <[email protected]> Signed-off-by: Xerxes Rånby <[email protected]>
* Remove system dependency of intptr_t and uint64_t.Xerxes Rånby2013-01-291-9/+0
| | | | Signed-off-by: Xerxes Rånby <[email protected]>
* Bug 567 (part 1): add support for openal extensionsMichael Zucchi2013-01-254-2/+33
| | | | | | | Imported JOAL specific parts from the patch made by Michael Zucchi. Author: Michael Zucchi <[email protected]> Signed-off-by: Xerxes Rånby <[email protected]>
* Add dummy junit test so jenkins would not failSven Gothel2013-01-191-0/+15
|
* Remove junit ALTest file with incompatible license.Xerxes Rånby2012-11-231-391/+0
| | | | Signed-off-by: Xerxes Rånby <[email protected]>
* Fix mark/reset bug in com/jogamp/openal/test/resources/ResourceLocation.javaXerxes Rånby2012-10-241-1/+2
| | | | | | | This fix will re-enable the manual OpenALTest to work. java -cp gluegen-rt.jar:joal.jar:joal-test.jar com.jogamp.openal.test.manual.OpenALTest Signed-off-by: Xerxes Rånby <[email protected]>
* Fix testAlBufferDataintintByteBufferintint ERROR java.io.IOException: ↵Xerxes Rånby2012-10-231-1/+4
| | | | | | | | | | | | | | | | | | mark/reset not supported. [junit] Testcase: testAlBufferDataintintByteBufferintint took 0,021 sec [junit] Caused an ERROR [junit] mark/reset not supported [junit] java.io.IOException: mark/reset not supported [junit] at java.util.zip.InflaterInputStream.reset(InflaterInputStream.java:286) [junit] at java.io.FilterInputStream.reset(FilterInputStream.java:217) [junit] at com.sun.media.sound.SoftMidiAudioFileReader.getAudioInputStream(SoftMidiAudioFileReader.java:135) [junit] at javax.sound.sampled.AudioSystem.getAudioInputStream(AudioSystem.java:1111) [junit] at com.jogamp.openal.util.WAVLoader.loadFromStream(WAVLoader.java:87) [junit] at com.jogamp.openal.test.junit.ALTest.loadTestWAV(ALTest.java:386) [junit] at com.jogamp.openal.test.junit.ALTest.testAlBufferDataintintByteBufferintint(ALTest.java:281) 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-095-8/+8
| | | | | | | | | | | | 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-134-13/+180
| | | | | | | | | | | | | | - 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
* Playing audio againSven Gothel2010-12-134-7/+31
| | | | | | | | | | | - test: use jar file joal-test.jar - test: use proper getResourceAsStream() on class instance - test: plays sound TODO: - check on windows and osx - add jnlp file template - joal-demos
* Bring back JOAL (code fixes and project structure)Sven Gothel2010-12-1312-373/+800
| | | | | | | | | | | | | | | - 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