aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/jogamp/openal/util/ALAudioSink.java
Commit message (Collapse)AuthorAgeFilesLines
* ALAudioSink: Promote to public, be fully functional regarding AudioFormat ↵Sven Gothel2023-05-181-1109/+0
| | | | and OpenAL paremeter. Can be 'plugged' into existing OpenAL logic.
* ALAudioSink: Enhance using AL_EXT_MCFORMATS (max channels == 8), ↵Sven Gothel2023-05-171-5/+54
| | | | | | | | | | | 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.
* ALAudioSink.toString(): Show hasALC_thread_local_context value ('tlc')Sven Gothel2023-05-171-1/+1
|
* ALAudioSink.dequeueBuffer(): wait == true: Fix sleep cycle and use sleep(1) ↵Sven Gothel2023-05-171-23/+47
| | | | | | | 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.
* ALAudioSink: Add exclusive locking allowing less context management overheadSven Gothel2023-05-171-0/+23
|
* Promote ALAudioSink from JOGL to JOAL (Common av classes reside in GlueGen, ↵Sven Gothel2023-05-171-0/+1013
see gluegen commit 270172bcbd91f96d4a38a3d73e23d744f57a25b8)