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

BSE: add Resampler2 function to reset state #121

Closed
wants to merge 1 commit into from

Conversation

@swesterfeld
Copy link
Collaborator

swesterfeld commented Sep 1, 2019

Currently, if you want to return a Resampler2 object to its initial state (all history values zero), you need to delete the instance and create a new one. This adds a reset() function to the API which has the same effect. I'm using this new API in the Ladder filter implementation.

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
@swesterfeld swesterfeld referenced this pull request Sep 3, 2019
@tim-janik tim-janik closed this in 6c82539 Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.