Add a todo for VST3 parameter units
Implementing this is going to be a pain.
This commit is contained in:
parent
f18c92b3b4
commit
bbf6e009d1
1 changed files with 2 additions and 0 deletions
|
@ -344,6 +344,8 @@ impl<P: Vst3Plugin> IEditController for Wrapper<P> {
|
|||
u16strlcpy(&mut info.units, param_ptr.unit());
|
||||
info.step_count = param_ptr.step_count().unwrap_or(0) as i32;
|
||||
info.default_normalized_value = *default_value as f64;
|
||||
// TODO: Support parameter groups for VST3, having to define all of these units is going
|
||||
// to be a pain
|
||||
info.unit_id = vst3_sys::vst::kRootUnitId;
|
||||
info.flags = vst3_sys::vst::ParameterFlags::kCanAutomate as i32;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue