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 too many hit sounds sometimes being played when custom sample sets are in use #30599

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

peppy
Copy link
Member

@peppy peppy commented Nov 13, 2024

Addresses #30437.

It seems that stable does not fallback to non-suffixed samples in the case of a custom sample set suffix:

Playback always prefers the cache, even when the lookup is cached as a failure -1

Cache / load code starts here; follow the chain

Minimal repro (based on https://osu.ppy.sh/beatmapsets/1633250#osu/3333745): Yooh - RPG (Zelq) (2).olz.zip

@bdach
Copy link
Collaborator

bdach commented Nov 13, 2024

Tests are red. Not sure if they're just wrong tests or there is something more to this.

@peppy
Copy link
Member Author

peppy commented Nov 13, 2024

I wouldn't be surprised if some of these tests are wrong. Will go through them tomorrow.

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