-
Notifications
You must be signed in to change notification settings - Fork 12
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
[FR] AnalogEcho in the style of the new wrapper #12
Comments
I see that NHHall does it like this: set_calc_function<NHHall, &NHHall::clear>(); and then define this member function: void clear(int inNumSamples) {
ClearUnitOutputs(this, inNumSamples);
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
First of all thanks so much for these examples. They are a really great resource when learning about plugins!
I am writing a plugin using the "new" wrapper style based on the AnalogEcho example and most of the code is easily translatable to the new style but I cannot figure out how to set the calculcation function to the output clear function:
I've "translated" the ClearUnitOutputs line to
ClearUnitOutputs(this, 1);
but how do I translate the SETCALC macro to useset_calc_function
? As a newbie I'm struggling to figure this outThe text was updated successfully, but these errors were encountered: