diff options
author | Robin Gareus <robin@gareus.org> | 2019-03-11 02:10:50 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-03-11 02:10:50 +0100 |
commit | 484e0d0fb2548396f3e29b93f2ac9ddfae5aaeed (patch) | |
tree | 4dd62115cff621ffd0a3676c09e8be0302882299 /libs/ardour/luaproc.cc | |
parent | 4964852f0bd12b7c5dc61f948a535ea7f5862ffc (diff) |
Remove generic parameter-printer
This has been superseded by value_as_string() along with meta-data
from parameter-descriptor, which is supported by all standards, except VST.
Diffstat (limited to 'libs/ardour/luaproc.cc')
-rw-r--r-- | libs/ardour/luaproc.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libs/ardour/luaproc.cc b/libs/ardour/luaproc.cc index 58167e7f06..8cb5f66c1c 100644 --- a/libs/ardour/luaproc.cc +++ b/libs/ardour/luaproc.cc @@ -1003,18 +1003,6 @@ LuaProc::describe_parameter (Evoral::Parameter param) return "??"; } -void -LuaProc::print_parameter (uint32_t param, char* buf, uint32_t len) const -{ - if (buf && len) { - if (param < parameter_count ()) { - snprintf (buf, len, "%.3f", get_parameter (param)); - } else { - strcat (buf, "0"); - } - } -} - boost::shared_ptr<ScalePoints> LuaProc::parse_scale_points (luabridge::LuaRef* lr) { |