Bug 1439

Summary: Add AL_SOFT_events support via GlueGen JavaCallback and using extension in ALAudioSink
Product: [JogAmp] Joal Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P4    
Version: 2.5.0   
Hardware: All   
OS: all   
Type: FEATURE SCM Refs:
84be97857a080194de8de147552c2adb295bb402 224d417f502f5f93f617c5b387620fdabdc91f2d 9eb33b0016e8f0781140a3b03509562cb6d95bc1 2d3237ef72a0ce908f1ca61e4f151e01dc8e27f3
Workaround: ---

Description Sven Gothel 2023-07-12 02:24:23 CEST
commit 224d417f502f5f93f617c5b387620fdabdc91f2d

    ALAudioSink: Utilize AL_SOFT_events if available, i.e. use callback for released buffer count instead of polling
    
    With wait == true, we simply wait until enough buffers have arrived,
    otherwise take what we got - both w/o polling and querying the alSource.
Comment 1 Sven Gothel 2023-07-12 02:25:16 CEST
commit 84be97857a080194de8de147552c2adb295bb402

    Add OpenAL extension AL_SOFT_events using userParam ALCcontext as key for GlueGen JavaCallback
    
    https://openal-soft.org/openal-extensions/SOFT_events.txt