Require a Default instance on plugins
Since that's how they're going to be initialized
This commit is contained in:
parent
5d0fbcd60d
commit
fba92cd333
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ use crate::params::Params;
|
|||
/// - Parameter hierarchies/groups
|
||||
/// - Outputting parameter changes from the plugin
|
||||
/// - GUIs
|
||||
pub trait Plugin: Sync {
|
||||
pub trait Plugin: Default + Sync {
|
||||
/// The default number of inputs. Some hosts like, like Bitwig and Ardour, use the defaults
|
||||
/// instead of setting up the busses properly.
|
||||
const DEFAULT_NUM_INPUTS: u32;
|
||||
|
|
Loading…
Add table
Reference in a new issue