aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/com
Commit message (Collapse)AuthorAgeFilesLines
* Code Clean-Up based on our Recommended Settings (jogamp-scripting ↵Sven Gothel2014-07-0311-242/+249
| | | | | | | | | | | | | c47bc86ae2ee268a1f38c5580d11f93d7f8d6e74) - Change non static accesses to static members using declaring type - Change indirect accesses to static members to direct accesses (accesses through subtypes) - Add final modifier to private fields - Add final modifier to method parameters - Add final modifier to local variables - Remove unnecessary casts - Remove unnecessary '$NON-NLS$' tags - Remove trailing white spaces on all lines
* 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-211-30/+15
|
* ALutWAVLoaderTest: Test WAV decoder impl. Bug 684Xerxes Rånby2013-07-141-0/+89
| | | | Signed-off-by: Xerxes Rånby <[email protected]>
* WavData.loadFromStream: Uses IOUtil.copyStream2ByteBuffer which fixes ↵Sven Gothel2013-02-015-6/+50
| | | | | | | 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-317-41/+837
|
* 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 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]>
* 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]>
* Window Support added ; Win64 libs & license filesSven Gothel2010-12-131-5/+5
| | | | | | | | | | | | | | - 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-135-0/+617
- 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