| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
test); Add @FixMethodOrder(MethodSorters.NAME_ASCENDING)
|
|
|
|
| |
javax.sound.sampled.UnsupportedAudioFileException dependency
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Chris Robinson (BSD'ish)
- Renamed type conversion methods
- Added generic type -> AL types
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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!
+++
|
|
|
|
| |
Signed-off-by: Xerxes Rånby <[email protected]>
|
|\ |
|
| |
| |
| |
| | |
non-J2SE environments
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
|\
| |
| | |
Adding method for retrieving the playing state of a Source.
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'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>
|
|
|
|
|
|
|
| |
loading on Android; Adding proper byteOrder swapping depending on input format.
- Also added a few more test streams
- Working Android test activity
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
-
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
| |
Signed-off-by: Xerxes Rånby <[email protected]>
|
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
| |
Signed-off-by: Xerxes Rånby <[email protected]>
|
|
|
|
|
|
|
| |
Imported the ALExtLoopbackDeviceSOFTTest junit test.
Author: Michael Zucchi <[email protected]>
Signed-off-by: Xerxes Rånby <[email protected]>
|
|
|
|
| |
Signed-off-by: Xerxes Rånby <[email protected]>
|
|
|
|
|
|
|
| |
Imported JOAL specific parts from the patch made by Michael Zucchi.
Author: Michael Zucchi <[email protected]>
Signed-off-by: Xerxes Rånby <[email protected]>
|
| |
|
|
|
|
| |
Signed-off-by: Xerxes Rånby <[email protected]>
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]>
|
| |
|
| |
|
|
|
|
| |
f4ac27e177f6deb444280d3b375e7d343e38bd08
|
|
|
|
| |
(Properties/Security)
|
|
|
|
| |
reveals unresolved initialization dependency leading to NPE in NativeLibrary
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|