AudioKitEX icon indicating copy to clipboard operation
AudioKitEX copied to clipboard

pass maxFramesToRender to DSPBase::init

Open wtholliday opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe.

An AudioUnit will often need to know the maximum buffer size that will be requested for rendering. AudioKit doesn't provide this.

Describe the solution you'd like

maxFramesToRender should be passed to DSPBase::init.

Describe alternatives you've considered

This information could possibly be grabbed from the size of the output buffers but that is inelegant.

Are there examples for this somewhere in the code?

wtholliday avatar Jul 28 '22 21:07 wtholliday