1
0
Fork 0

Add a todo for transport information in process

This commit is contained in:
Robbert van der Helm 2022-01-28 15:18:55 +01:00
parent c518cc9ede
commit 61d7905148

View file

@ -29,6 +29,7 @@ use crate::params::Params;
/// - Multiple output busses /// - Multiple output busses
/// - Latency compensation /// - Latency compensation
/// - Special handling for offline processing /// - Special handling for offline processing
/// - Transport and other context information in the process call
/// - Storing custom state, only the parameters are saved right now /// - Storing custom state, only the parameters are saved right now
/// - Sample accurate automation (this would be great, but sadly few hosts even support it so until /// - Sample accurate automation (this would be great, but sadly few hosts even support it so until
/// they do we'll ignore that it's a thing) /// they do we'll ignore that it's a thing)
@ -37,8 +38,6 @@ use crate::params::Params;
/// - Bypass parameters, right now the VST3 wrapper generates one for you /// - Bypass parameters, right now the VST3 wrapper generates one for you
/// - Outputting parameter changes from the plugin /// - Outputting parameter changes from the plugin
/// - GUIs /// - GUIs
/// - Suspension and tail processing. This will be handled soon in a similar way to how CLAP
/// handnles it.
pub trait Plugin: Default + Sync { pub trait Plugin: Default + Sync {
const NAME: &'static str; const NAME: &'static str;
const VENDOR: &'static str; const VENDOR: &'static str;
@ -87,6 +86,7 @@ pub trait Plugin: Default + Sync {
/// TODO: Provide a way to access auxiliary input channels if the IO configuration is /// TODO: Provide a way to access auxiliary input channels if the IO configuration is
/// assymetric /// assymetric
/// TODO: Handle FTZ stuff on the wrapper side and mention that this has been handled /// TODO: Handle FTZ stuff on the wrapper side and mention that this has been handled
/// TODO: Pass transport and other context information to the plugin
fn process(&mut self, samples: &mut [&mut [f32]]) -> ProcessStatus; fn process(&mut self, samples: &mut [&mut [f32]]) -> ProcessStatus;
} }