aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Adapt to GlueGen commit c3054a01990e55ab35756ea23ab7d7c05f24dd37 (compount ↵Sven Gothel2014-06-171-15/+15
| | | | call-by-value extension)
* ALFactory.PREFER_SYSTEM_OPENAL: Defaults to false for all platforms (i.e. ↵Sven Gothel2014-06-101-15/+15
| | | | Use openal-soft on OSX as well now)
* Fix ALExtLoopbackDeviceSOFTTestv2.1.5Sven Gothel2014-02-221-67/+186
| | | | | | | | | | | | - Use max 4k to test - Remove redundant default device/context - Add AL source and assign buffer - issue buffer play - Only fail if certain accuracy is not met - Stereo 0.8 (passes w/ ~ 0.9) - Mono 0.4 !!! FIXME !!! (Only passes w/ ~ 0.49) Tests are passing, however - have to check the MONO case.
* Tests: Add UITestCase unit test super class (print start/end, singletion ↵Sven Gothel2014-02-223-4/+163
| | | | test); Add @FixMethodOrder(MethodSorters.NAME_ASCENDING)
* ALExtLoopbackDeviceSOFTTest: Remove ↵Sven Gothel2014-02-211-8/+7
| | | | javax.sound.sampled.UnsupportedAudioFileException dependency
* WAVLoader: Use Bitstream and support big-endian RIFX; Fix ALutWAVLoaderTestSven Gothel2014-02-213-122/+96
|
* Add support for clangSven Gothel2013-09-131-0/+1
|
* ALHelpers: Shorten returned string representationsSven Gothel2013-08-261-12/+12
|
* Add util class ALHelpers - Ported to Java from OpenAL-Soft from (c) 2011 ↵Sven Gothel2013-08-261-0/+376
| | | | | | | Chris Robinson (BSD'ish) - Renamed type conversion methods - Added generic type -> AL types
* ALFactory: Remove unused importsSven Gothel2013-08-261-3/+0
|
* Remedy for Bug 782: Issue Debug.initSingleton() or Debug.debug(..) before ↵Sven Gothel2013-07-171-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | calling 'PropertyAccess.isPropertyDefined(propName, default)' through Debug class. Calling 'Debug.isPropertyDefined(propName, default)' may be 'optimized' to 'PropertyAccess.isPropertyDefined(propName, default)', which would skip the modules Debug's class initialization. Iff that happens, an AccessControlException may happen, due to requesting an insecure property, since modules own Debug class has not been added it's trusted prefixes from within it's init block yet. This seems to be a bug of the JVM .. to me, however .. the above description is the only able to explain the issue at hand. +++ Fix calls Debug class own static methods, either Debug.initSingleton() or Debug.debug(), before calling 'isPropertyDefined(propName, default)'. +++ Also mark Debug class static methods final! +++
* ALutWAVLoaderTest: Test WAV decoder impl. Bug 684Xerxes Rånby2013-07-141-0/+89
| | | | Signed-off-by: Xerxes Rånby <[email protected]>
* Merge remote-tracking branch 'gouessej/master'Xerxes Rånby2013-07-092-31/+94
|\
| * Removes all references to javax.sound.* in order to allow JOAL to work in ↵Julien Gouesse2013-03-272-31/+94
| | | | | | | | non-J2SE environments
* | ALDynamicLibraryBundleInfo: Inherit security considerations in API docSven Gothel2013-06-211-1/+8
| |
* | Security: Tighten DynamicLinker*, NativeLibrary and DynamicLibraryBundle access.Sven Gothel2013-06-201-8/+11
| |
* | Adapt to GlueGen commit 1a01dce6c42b398cdd68d405828774a3ab366456Sven Gothel2013-06-112-10/+12
|/
* Fix 76c6916631a7386457fa260bf7856dea4d461a31: Replace TAB w/ 4 SPACEsSven Gothel2013-03-271-2/+2
|
* Supports soft_oal.dll (OpenAL-soft) that might be installedJulien Gouesse2013-03-221-0/+2
|
* Merge pull request #9 from magnen/masterSven Gothel2013-03-211-0/+11
|\ | | | | Adding method for retrieving the playing state of a Source.
| * Adding method for determining the playing state of an audio source.Magne Nordtveit2013-03-071-0/+11
| |
* | 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-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