mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 22:55:44 +01:00
Fix VST2 default and initial control parameter values
This commit is contained in:
parent
275a37ff39
commit
f2d04dfb1f
1 changed files with 1 additions and 2 deletions
|
|
@ -427,9 +427,8 @@ VSTPlugin::get_parameter_descriptor (uint32_t which, ParameterDescriptor& desc)
|
|||
|
||||
if (_parameter_defaults.find (which) == _parameter_defaults.end ()) {
|
||||
_parameter_defaults[which] = get_parameter (which);
|
||||
} else {
|
||||
desc.normal = _parameter_defaults[which];
|
||||
}
|
||||
desc.normal = _parameter_defaults[which];
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue