Skip to content

BSE: add Resampler2 function to reset state - #121

Closed
swesterfeld wants to merge 1 commit into
tim-janik:masterfrom
swesterfeld:resampler-reset
Closed

swesterfeld wants to merge 1 commit into
tim-janik:masterfrom
swesterfeld:resampler-reset

Conversation

@swesterfeld

Copy link
Copy Markdown
Collaborator

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 mentioned 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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant