Support auxiliary inputs and outputs for CLAP

This does not yet work for VST3. You'll always get empty slices there.
This commit is contained in:
Robbert van der Helm
2022-05-27 02:30:57 +02:00
parent b2e6bd5515
commit ee900f74c2
18 changed files with 246 additions and 40 deletions

View File

@@ -215,7 +215,12 @@ impl Plugin for PubertySimulator {
self.stft.set_block_size(self.window_size());
}
fn process(&mut self, buffer: &mut Buffer, context: &mut impl ProcessContext) -> ProcessStatus {
fn process(
&mut self,
buffer: &mut Buffer,
_aux: &mut AuxiliaryBuffers,
context: &mut impl ProcessContext,
) -> ProcessStatus {
// Compensate for the window function, the overlap, and the extra gain introduced by the
// IDFT operation
let window_size = self.window_size();