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. You can view, comment on, or merge this pull request online at:
https://github.com/tim-janik/beast/pull/121 -- Commit Summary -- * BSE: add Resampler2 function to reset state -- File Changes -- M bse/bseresampler.hh (4) M bse/bseresamplerimpl.hh (24) -- Patch Links -- https://github.com/tim-janik/beast/pull/121.patch https://github.com/tim-janik/beast/pull/121.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/tim-janik/beast/pull/121
_______________________________________________ beast mailing list [email protected] https://mail.gnome.org/mailman/listinfo/beast
