-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix volume interpolation in positional audio nodes #37279
Conversation
Just downloaded Jitspoe's minimal reproduction project, and it does fix it for that as well. |
Thanks for the contribution! There are a few things that need to be changed/improved:
|
You're right, it needed fixed in The basic Also... Is it possible to change which branch this PR is made against without making a separate PR? |
That should likely be a separate PR (though we probably need to assess if it's missing by design or because it was forgotten.
Yes, though it's a bit tricky. You'd have to: |
I think it tried to run the CI in between me force-pushing the new branch and me changing the base branch because I did them in the wrong order, but it should be correct now. |
Indeed, the CI doesn't seem to properly support PRs changing base branch it seems. Could I ask you to do another (noop) force push to force CI to restart? |
Sure. Rebased onto a more recent commit anyway. |
Thanks! |
Cherry-picked for 3.2.2. |
Should fix #22016
Volume was interpolating from either 0 or the current volume, instead of the previous volume.
The issue I was having was with long sounds moving around the player in 3D, not with the rapid, short sounds mentioned in the linked issue. Perhaps someone should verify that this fix actually fixes that issue before closing it, but this definitely fixes my issue, and it appears to me to be the cause of the short-sound issue as well.