Skip to content

Conversation

@rh101
Copy link
Contributor

@rh101 rh101 commented Sep 20, 2025

Describe your changes

Issue ticket number and link

Checklist before requesting a review

For each PR

  • Add Copyright if it missed:
    - "Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md)."

  • I have performed a self-review of my code.

    Optional:

    • I have checked readme and add important infos to this PR.
    • I have added/adapted some tests too.

For core/new feature PR

  • I have checked readme and add important infos to this PR.
  • I have added thorough tests.

Axmol 3.x ------------------------------------------------------------

For each 3.x PR

  • Check the '#include "axmol.h"' and replace it with the needed headers.

@halx99 halx99 modified the milestones: 3.0.0, 2.9.0 Sep 20, 2025
@halx99 halx99 added the enhancement New feature or request label Sep 20, 2025
@halx99
Copy link
Collaborator

halx99 commented Sep 20, 2025

does possible remove preprocessor check:

#if AX_USE_ALSOFT
    /**
     * Sets and enables reverb for an audio track.
     *
     * @param audioId        An audioID returned by the play2d function.
     * @param reverbProperties The pointer to reverb effect settings. If this is nullptr, then reverb effect will be
     * disabled.
     */
    static void setReverbProperties(AUDIO_ID audioId, const ReverbProperties* reverbProperties);
#endif

or hidden for luabindings ?

@halx99
Copy link
Collaborator

halx99 commented Sep 20, 2025

image

lua build will raise compile error when build for wasm without openal-soft

@rh101
Copy link
Contributor Author

rh101 commented Sep 20, 2025

There is an alternative solution. I'll push the changes soon.

@rh101
Copy link
Contributor Author

rh101 commented Sep 20, 2025

To avoid issues, we can always have setReverbProperties declared and defined, and just create a dummy ReverbProperties for when openal-soft is not used.

@halx99
Copy link
Collaborator

halx99 commented Sep 20, 2025

To avoid issues, we can always have setReverbProperties declared and defined, and just create a dummy ReverbProperties for when openal-soft is not used.

ok

@halx99 halx99 merged commit 94cb826 into axmolengine:release/2.x Sep 20, 2025
15 checks passed
@rh101 rh101 deleted the reverb-fix branch September 20, 2025 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants