<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>1476</bug_id>
          
          <creation_ts>2023-11-22 14:36:35 +0100</creation_ts>
          <short_desc>Update OpenAL Headers</short_desc>
          <delta_ts>2023-11-28 21:05:31 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Joal</product>
          <component>core</component>
          <version>2.6.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathieu Féry (MathiusD)">mfery</reporter>
          <assigned_to name="Mathieu Féry (MathiusD)">mfery</assigned_to>
          <cc>gouessej</cc>
    
    <cc>rmanzini</cc>
    
    <cc>sgothel</cc>
          
          <cf_type>FEATURE</cf_type>
          <cf_scm_refs>4c286a85fb8b8e469d39de1811c2daebcc534a37</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>6939</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Féry (MathiusD)">mfery</who>
    <bug_when>2023-11-22 14:36:35 +0100</bug_when>
    <thetext>Bump OpenAL includes to latest version of openal-soft embedded, except for eax.h because usable reference header are located inside submodule openal-soft/al/eax/api.h but this header contains many symbol not processed by Gluegen like constexpr and other c++ feature

Following extensions has been added :
 * AL_EXT
   * AL_EXT_BFORMAT -&gt; https://github.com/Raulshc/OpenAL-EXT-Repository/blob/master/AL%20Extensions/AL_EXT_BFORMAT.txt
   * AL_EXT_MULAW_BFORMAT -&gt; https://github.com/Raulshc/OpenAL-EXT-Repository/blob/master/AL%20Extensions/AL_EXT_MULAW_BFORMAT.txt
 * AL_SOFT
   * AL_SOFT_deferred_updates -&gt; https://openal-soft.org/openal-extensions/SOFT_deferred_updates.txt
   * AL_SOFT_block_alignment -&gt; https://openal-soft.org/openal-extensions/SOFT_block_alignment.txt
   * AL_SOFT_MSADPCM -&gt; https://openal-soft.org/openal-extensions/SOFT_MSADPCM.txt
   * AL_SOFT_source_length -&gt; https://openal-soft.org/openal-extensions/SOFT_source_length.txt
   * AL_SOFT_buffer_length_query -&gt; https://openal-soft.org/openal-extensions/SOFT_buffer_length_query.txt
   * AL_SOFT_gain_clamp_ex -&gt; https://openal-soft.org/openal-extensions/SOFT_gain_clamp_ex.txt
   * AL_SOFT_source_resampler -&gt; https://openal-soft.org/openal-extensions/SOFT_source_resampler.txt
   * AL_SOFT_source_spatialize -&gt; https://openal-soft.org/openal-extensions/SOFT_source_spatialize.txt
   * AL_SOFT_direct_channels_remix -&gt; https://openal-soft.org/openal-extensions/SOFT_direct_channels_remix.txt
   * AL_SOFT_bformat_ex -&gt; https://openal-soft.org/openal-extensions/SOFT_bformat_ex.txt
   * AL_SOFT_effect_target -&gt; https://openal-soft.org/openal-extensions/SOFT_effect_target.txt
   * AL_SOFT_callback_buffer -&gt; https://openal-soft.org/openal-extensions/SOFT_callback_buffer.txt
   * AL_SOFT_UHJ -&gt; https://openal-soft.org/openal-extensions/SOFT_UHJ.txt
   * AL_SOFT_UHJ_ex -&gt; https://openal-soft.org/openal-extensions/SOFT_UHJ_ex.txt
   * AL_SOFT_source_start_delay -&gt; https://openal-soft.org/openal-extensions/SOFT_source_start_delay.txt
 * ALC_EXT
   * ALC_EXT_DEFAULT_FILTER_ORDER -&gt; https://github.com/Raulshc/OpenAL-EXT-Repository/blob/master/ALC%20Extensions/ALC_EXT_DEFAULT_FILTER_ORDER.txt
 * ALC_SOFT
   * ALC_SOFT_pause_device -&gt; https://openal-soft.org/openal-extensions/SOFT_pause_device.txt
   * ALC_SOFT_HRTF -&gt; https://openal-soft.org/openal-extensions/SOFT_HRTF.txt
   * ALC_SOFT_output_limiter -&gt; https://openal-soft.org/openal-extensions/SOFT_output_limiter.txt
   * ALC_SOFT_device_clock -&gt; https://openal-soft.org/openal-extensions/SOFT_device_clock.txt
   * ALC_SOFT_loopback_bformat -&gt; https://openal-soft.org/openal-extensions/SOFT_loopback_bformat.txt
   * ALC_SOFT_reopen_device -&gt; https://openal-soft.org/openal-extensions/SOFT_reopen_device.txt
   * ALC_SOFT_output_mode -&gt; https://openal-soft.org/openal-extensions/SOFT_output_mode.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6940</commentid>
    <comment_count>1</comment_count>
    <who name="Mathieu Féry (MathiusD)">mfery</who>
    <bug_when>2023-11-22 14:38:33 +0100</bug_when>
    <thetext>I&apos;ve made a patch available here : https://github.com/MathiusD/joal in 1476-bump-al-headers</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6946</commentid>
    <comment_count>2</comment_count>
    <who name="Julien Gouesse">gouessej</who>
    <bug_when>2023-11-23 10:02:05 +0100</bug_when>
    <thetext>(In reply to Mathieu Féry (MathiusD) from comment #1)
https://github.com/JogAmp/joal/compare/master...MathiusD:joal:1476-bump-al-and-efx-headers</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6950</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2023-11-26 09:31:01 +0100</bug_when>
    <thetext>Great!
I knew one should update the extensions 
when I added AL_SOFT_events extension for our ALAudioSink,
but .. ;-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6957</commentid>
    <comment_count>4</comment_count>
    <who name="Mathieu Féry (MathiusD)">mfery</who>
    <bug_when>2023-11-27 13:52:37 +0100</bug_when>
    <thetext>Yes, I understand, AL_SOFT_events are very useful :)
Btw, the next openal-soft version, atm unreleased, contains new extensions :
 * ALC_EXT_debug
 * ALC_SOFT_system_events
Both seems very useful!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6961</commentid>
    <comment_count>5</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2023-11-28 12:36:47 +0100</bug_when>
    <thetext>Thank you!

+++

commit 4c286a85fb8b8e469d39de1811c2daebcc534a37

    Bug 1476: Reviewed updated OpenAL header (extensions) via make/scripts/cmpOld2New.sh
    
    No API change of old methods or fields!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6963</commentid>
    <comment_count>6</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2023-11-28 12:46:39 +0100</bug_when>
    <thetext>(In reply to Mathieu Féry (MathiusD) from comment #4)
While I am snooping through OpenAL-Soft git commits,
I see that Chris works on supporting EAX now?
Hence .. shall we revert Bug 1477 and leave it in?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6964</commentid>
    <comment_count>7</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2023-11-28 13:02:23 +0100</bug_when>
    <thetext>(In reply to Sven Gothel from comment #6)
btw, nice stuff Mathieu https://github.com/kcat/openal-soft/commit/c03603b58d4cf6a25d36bca00305970bc9f163b4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6968</commentid>
    <comment_count>8</comment_count>
    <who name="Mathieu Féry (MathiusD)">mfery</who>
    <bug_when>2023-11-28 17:03:11 +0100</bug_when>
    <thetext>(In reply to Sven Gothel from comment #7)
Thanks! :) (Even though we&apos;ve talked more about specification than coding per se xD)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6969</commentid>
    <comment_count>9</comment_count>
    <who name="Mathieu Féry (MathiusD)">mfery</who>
    <bug_when>2023-11-28 17:09:34 +0100</bug_when>
    <thetext>(In reply to Sven Gothel from comment #6)
I must admit that I hadn&apos;t found a C header, but only this file in openal-soft: al/eax/api.h, which contains a large number of keywords not managed by Gluegen. And it seems to me that by default Chris only compiles the EAX API for Windows targets (although this can be changed in the compilation options of the Jogamp fork).
So I&apos;m not sure whether to revert Bug 1477 or update the EAX headers? (for example, based on the DOOM3 headers quoted in the file I mentioned earlier, as I must confess I haven&apos;t found the original header files :c)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6970</commentid>
    <comment_count>10</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2023-11-28 21:05:31 +0100</bug_when>
    <thetext>(In reply to Mathieu Féry (MathiusD) from comment #9)
yeah, let&apos;s keep it as is now (dropped EAX)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>