Login  Register

JOAL Update ...

Posted by Sven Gothel on May 17, 2023; 5:16pm
URL: https://forum.jogamp.org/JOAL-Update-tp4042614.html

README/index.html: Update Web resources & URLs, add details about audio-backens per platform and contained openal-soft library
, see
- https://jogamp.org/joal/www/
- https://jogamp.org/cgit/joal.git/about/

Promoted ALAudioSink to JOAL from JOGL, while pushing the general interfaces to (err) GlueGen,
yeah .. but didn't wanted to create another module.

ALAudioSink got some fixes for performance/low-latency
as tested and evaluated with a simple synthesizer
https://jogamp.org/cgit/joal.git/tree/src/test/com/jogamp/openal/test/manual/Synth02AL.java

This might be useful for other projects and I may push it in JOAL's util package
to easily produce sounds and change frequency + amplitude on the fly.
However, there are better full feature synthesizers like JSyn,
and we might want to discuss adding JOAL to its backends?

I also validated details of ALAudioSink and realized AL_SOFT_buffer_samples
is gone since openal-soft 1.18.0.
Hence I patched it accordingly and tested w/ GLMediaPlayer and 4-6 channel audio, working again.

OpenAL-Soft v1.23.1 and our builds have the following backends:

* Windows:
  -- OpenAL Soft: Audio-Backends: WinMM, DirectSound, WASAPI, WaveFile, Null

* GNU/Linux:
  -- OpenAL Soft: OpenAL: PipeWire, PulseAudio, ALSA, OSS, SndIO (linked), WaveFile, Null

* Android/Linux:
  -- OpenAL Soft: Audio-Backends: PipeWire, OpenSL, WaveFile, Null

* OSX
  -- OpenAL Soft: Audio-Backends: CoreAudio, WaveFile, Null


Will be released w/ JogAmp v2.5.0 and is contained in the RC builds.