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

feat: Non-renderframe-synced keysound/updates #836

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

Conversation

phu54321
Copy link

@phu54321 phu54321 commented Nov 22, 2024

Keysound were synced with render frames. The issues are exacerbated on vsync environment or fram-limited situations. This patch tries to mitigate that.

timer.update() is tied to MainController::render call, and it is used as a source of truth for keysound & judging system. This patch creates a separate thread that continuously updates the timer.

Note that this patch isn't yet tested on the wild or had undergone any unit tests, so it might break some other functionalities. Further testing required.

`timer.update()` is tied to `MainController::render` call, and it is
used as a source of truth for keysound & judging system. This patch
creates a separate thread that continuously updates the timer.

Note that this patch isn't yet tested on the wild or had undergone any
unit tests, so it might break some other functionalities. Further
testing required.
@phu54321 phu54321 force-pushed the feature/fluent_keysound branch from a706941 to 3d41a12 Compare November 22, 2024 04:27
@phu54321
Copy link
Author

I've used this patch for about a month and hadn't had any issues on mordernchic skin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant