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

Apply rate limiting to Pan as well as Gain #3429

Merged
merged 2 commits into from
Dec 6, 2024

Conversation

softins
Copy link
Member

@softins softins commented Nov 26, 2024

Short description of changes

This PR applies the same rate-limiting to Pan change message as is currently done for Gain change messages since #2535

CHANGELOG: Client: Apply rate-limiting to Pan change messages to eliminate lag in their effect.

Context: Fixes an issue?

Fixes #3428

Does this change need documentation? What needs to be documented and how?

No, it's just a performance improvement.

Status of this Pull Request

Tested and ready for review

What is missing until this pull request can be merged?

Nothing

Checklist

  • I've verified that this Pull Request follows the general code principles
  • I tested my code and it does what I want
  • My code follows the style guide
  • I waited some time after this Pull Request was opened and all GitHub checks completed without errors.
  • I've filled all the content above

@softins softins self-assigned this Nov 26, 2024
@softins softins added this to the Release 3.12.0 milestone Nov 26, 2024
@softins softins requested review from pljones and ann0see November 26, 2024 18:23
@pljones pljones added the refactoring Non-behavioural changes, Code cleanup label Nov 26, 2024
Copy link
Member

@ann0see ann0see left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks sensible and with a manual test (moving pan pots around quickly), it seems ok: No delay or any oddities visible.

src/client.h Show resolved Hide resolved
src/client.cpp Show resolved Hide resolved
Copy link
Collaborator

@pljones pljones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No blockers.

@softins softins merged commit bd3b609 into jamulussoftware:main Dec 6, 2024
10 of 11 checks passed
@softins softins deleted the rate-limit-pan branch December 6, 2024 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Non-behavioural changes, Code cleanup
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Pan change messages need to be rate-limited similarly to Gain.
3 participants