Bug 1439 - Add AL_SOFT_events support via GlueGen JavaCallback and using extension in ALAudioSink
Summary: Add AL_SOFT_events support via GlueGen JavaCallback and using extension in AL...
Status: RESOLVED FIXED
Alias: None
Product: Joal
Classification: JogAmp
Component: core (show other bugs)
Version: 2.5.0
Hardware: All all
: P4 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2023-07-12 02:24 CEST by Sven Gothel
Modified: 2023-07-12 02:25 CEST (History)
0 users

See Also:
Type: FEATURE
SCM Refs:
84be97857a080194de8de147552c2adb295bb402 224d417f502f5f93f617c5b387620fdabdc91f2d 9eb33b0016e8f0781140a3b03509562cb6d95bc1 2d3237ef72a0ce908f1ca61e4f151e01dc8e27f3
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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