| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
representation)
|
| |
|
|
|
|
|
|
| |
locking and exit.
initImpl() shall just return false, not throwing an exception.
|
| |
|
| |
|
|
|
|
| |
(refresh-rate) if frameDuration < defaultLatency
|
|
|
|
| |
(mono, stereo) using undocumented queries
|
|
|
|
| |
makeContextCurrent()/alcSetThreadContext() fails (returns false)
|
|
|
|
| |
`hasALC_thread_local_context`, benefitting from thread-local-context
|
|
|
|
|
|
|
|
|
|
|
| |
mix-and-match; Align Context makeCurrent/release w/ ALAudioSink ...
Align Context makeCurrent/release w/ ALAudioSink
- use ALC_EXT_thread_local_context if available
- use a recursive lock
- same release method as makeCurrent
- ALC_EXT_thread_local_context or traditional
- destroy also releases the context and fully unwinds lock
|
|
|
|
|
|
| |
context-locking and release same way; Destroy shall also release context.
Result is 'ALSOFT(WW)' free.
|
|
|
|
| |
and OpenAL paremeter. Can be 'plugged' into existing OpenAL logic.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
AL_EXT_FLOAT32, AL_EXT_DOUBLE
Note: AL_SOFT_buffer_samples is n/a since openal-soft 1.18.0
ALHelpers.getALFormat(..) uses cached booleans for optionally used available extensions.
Add DEBUG output for ALAudioSink.init() and ALAudioSink.isSupported(),
allowing to track supported and used formats.
|
| |
|
|
|
|
|
|
|
| |
if slept long enough but giving better threading perf for openal-soft
This with exclusive context gives us no distortion at 3x 12ms frames,
reduced from 3x 16ms. See Synth02AL.
|
| |
|
|
|
|
| |
enhanced to a general synth solution
|
| |
|
| |
|
|
|
|
| |
see gluegen commit 270172bcbd91f96d4a38a3d73e23d744f57a25b8)
|
|
|
|
| |
Test against OpenAL-Soft data >= 1.23.0
|
|
|
|
| |
Note: This requires mingw-w64 w/ posix-threads to allow using C++ std::mutex etc.
|
|
|
|
|
|
|
|
|
|
| |
byteCount (2nd arg) using IOUtil.copyStreamChunk2ByteBuffer(..)
This fix is inspired by Bug 1280, <https://github.com/sgothel/joal/pull/16>,
'copy only needed bytes' for JOAL's com.jogamp.openal.util.WAVData.loadFromStream(..).
This GlueGen IOUtil.copyStreamChunk2ByteBuffer() method is a revised version of the proposed IOHelpers.copyFromStream2ByteBuffer(..),
see <https://github.com/OndrejSpanel/joal/commit/1616659e98904270af4faca25b770d0983609735>
|
| |
|
| |
|
|
|
|
| |
remaining buffer. Copes with WAV files that have metadata appended to the end after the data RIFF chunk.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
library over system (default)
Default is to utilize provided openal-soft library if possible
and if not overridden by property 'joal.openal.lib'.
Hence returning ALFactory.PREFER_SYSTEM_OPENAL (default: false)
in ALDynamicLibraryBundleInfo.searchToolLibSystemPathFirst().
+++
This also resolves issues w/ OSX El Capitan 10.11,
which provides OpenAL via 'openal' library name (same as openal-soft)
and causes stuttering w/ GLMediaPlayer's ALAudioSink!
+++
|
|
|
|
| |
d78bb1be0a6290cb94918b21865a023c01825048
|
|
|
|
| |
9e13e8c78ed69bb7afcd49abe8bf69340dc06223
|
|
|
|
| |
Adapt to GlueGen commit f5c48efcf546ba4e08e197ccced6df83b57e1755
|
|
|
|
| |
46faa59d439ef235d7691fc64d56eedc600ffa1a
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
call-by-value extension)
|
|
|
|
| |
Use openal-soft on OSX as well now)
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| | |
|
| | |
|
|/ |
|