Skip to content

ProtoBuf renames, type changes & use callbacks instead of static waiting #418

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

Merged
merged 9 commits into from
Feb 3, 2025

Conversation

hasezoey
Copy link
Contributor

This PR improves the Protobuf situation a bit more, details:

  • rename some messages to be more generic usable
  • change index fields to be u64 (instead of u32)
  • change GeneralPlayer::toggle_gapless to call through GeneralPlayer::set_Gapless (instead of on the backend directly)
  • add stream event for "gapless" changes
  • document a bunch of things

and finally, and biggest:
Refactor to optionally use callbacks for player events to use instead of static waiting 20ms. This makes it more reliable by not potentially reading old values and potentially being faster than 20ms.

@tramhao tramhao merged commit 69e9ed8 into tramhao:master Feb 3, 2025
5 checks passed
@hasezoey hasezoey deleted the protoRefactorDiff branch February 3, 2025 13:45
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.

2 participants