Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
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
softcut: routines for copying and grabbing content from buffer regions #1161
softcut: routines for copying and grabbing content from buffer regions #1161
Changes from all commits
c036116e3190ab8f5c6bcb9a48aed91b2d34de17a37a1a6037dd61891d3a37d317ff4e8e4d0c4c20f07cFile filter...
Jump to…
catfactJul 14, 2020
Collaborator
equal-power crossfade also an option, using
xas phase:csbolingJul 12, 2020
Author
Contributor
Here and here I demonstrate that I only pretend to know how to do Modern C++ things. All the other callbacks use regular function pointers and I understand that
std::functionis more costly, but I could not get this to compile with a function pointer when this lambda needs to value-capture thechindex. Other places in this file useaddServerMethodwith some capturing going on (I think?) but the compiler is not happy about this -- maybe because this is a lambda defined inside another lambda?catfactJul 14, 2020
Collaborator
i think the overhead of the lambda is totally fine here. i don't think there are any cases of capturing elsewhere - there is just a lot of static storage.