Define remote controls for Crossover
This commit is contained in:
parent
911c0d57d5
commit
56c0a21989
|
@ -392,6 +392,21 @@ impl ClapPlugin for Crossover {
|
|||
ClapFeature::Stereo,
|
||||
ClapFeature::Utility,
|
||||
];
|
||||
|
||||
fn remote_controls(&self, context: &mut impl RemoteControlsContext) {
|
||||
context.add_section("Main", |section| {
|
||||
section.add_page("Main controls", |page| {
|
||||
page.add_param(&self.params.num_bands);
|
||||
page.add_param(&self.params.crossover_type);
|
||||
page.add_spacer();
|
||||
page.add_spacer();
|
||||
page.add_param(&self.params.crossover_1_freq);
|
||||
page.add_param(&self.params.crossover_2_freq);
|
||||
page.add_param(&self.params.crossover_3_freq);
|
||||
page.add_param(&self.params.crossover_4_freq);
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
impl Vst3Plugin for Crossover {
|
||||
|
|
Loading…
Reference in a new issue