right now, the input buffer type is &[f32] and the output buffer type is &mut [f32]. these represent pretty much exactly what we get from the host.
i have seen other rust libs wrap these buffers in higher-level types (for example, vst-rs's AudioBuffer). perhaps this is a better route?
seems like this could come along with #3 for better defining the "shape" of the buffers that are passed to the plugin.
right now, the input buffer type is
&[f32]and the output buffer type is&mut [f32]. these represent pretty much exactly what we get from the host.i have seen other rust libs wrap these buffers in higher-level types (for example, vst-rs's AudioBuffer). perhaps this is a better route?
seems like this could come along with #3 for better defining the "shape" of the buffers that are passed to the plugin.