Login  Register

Re: GlueGen Proudly Beating Panama

Posted by Sven Gothel on Jul 09, 2023; 7:24pm
URL: https://forum.jogamp.org/GlueGen-Proudly-Beating-Panama-tp4042711p4042747.html

AL_SOFT_events is now exposed in JOAL and used in ALAudioSink.

The latter uses the off-thread buffer consumed count to avoid active polling via AL,
simply using the count or waiting until expected free buffers are available.
This path removes an AL context switch and reading the processed buffers from source,
i.e. should allow a slightly more sleepy and responsive behavior.