diff options
Diffstat (limited to 'libs/ardour/luaproc.cc')
-rw-r--r-- | libs/ardour/luaproc.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/luaproc.cc b/libs/ardour/luaproc.cc index 4bc2c00c8b..9b51565b9c 100644 --- a/libs/ardour/luaproc.cc +++ b/libs/ardour/luaproc.cc @@ -1125,7 +1125,10 @@ LuaProc::load_preset (PresetRecord r) assert (index); assert (value); LocaleGuard lg; - set_parameter (atoi (index->value().c_str()), atof (value->value().c_str ())); + const uint32_t p = atoi (index->value().c_str()); + const float v = atof (value->value().c_str ()); + set_parameter (p, v); + PresetPortSetValue (p, v); /* EMIT SIGNAL */ } } return Plugin::load_preset(r); |