Skip to content
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 played jingles (Path Complete and Plenary) briefly not respecting user volume #1183

Merged
merged 1 commit into from
Jul 13, 2024

Conversation

mothbeanie
Copy link
Contributor

Changes:

There seems to be a lot of confusion between user volume and game's master volume. As a result, a bug was introduced when the user volume setting was added in which for a single frame the music of these jingles was set to the VVV_MAX_VOLUME which may be much louder than the user's volume setting. This was especially noticeable for Path Complete, but could be heard in Plenary too (even with its baked-in fade). It might be a good idea to generally clean up the audio code because the different volume variables between user and master are peppered throughout the audio functions instead of being localized and processed in one place. Either way, this PR fixes the bug with the jingles (tracks 0 and 7).

Legal Stuff:

By submitting this pull request, I confirm that...

  • My changes may be used in a future commercial release of VVVVVV
  • I will be credited in a CONTRIBUTORS file and the "GitHub Friends"
    section of the credits for all of said releases, but will NOT be compensated
    for these changes unless there is a prior written agreement

@InfoTeddy InfoTeddy merged commit 487e0c6 into TerryCavanagh:master Jul 13, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants