diff options
author | Carl Hetherington <carl@carlh.net> | 2012-01-23 18:02:22 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-01-23 18:02:22 +0000 |
commit | 9b4f0f724222818173a4a74521d3b3f4af4e447a (patch) | |
tree | f6b7213993a3438ff58d5777224a8d793f51e63d /libs/ardour/ardour/lv2_plugin.h | |
parent | 9c6ef3788cb7e6836c6c81328cd63ef52fb3cd83 (diff) |
Cache results of lilv_port_is_a(...) in various places.
git-svn-id: svn://localhost/ardour2/branches/3.0@11315 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/lv2_plugin.h')
-rw-r--r-- | libs/ardour/ardour/lv2_plugin.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/ardour/lv2_plugin.h b/libs/ardour/ardour/lv2_plugin.h index 6396e30038..a627c2eb43 100644 --- a/libs/ardour/ardour/lv2_plugin.h +++ b/libs/ardour/ardour/lv2_plugin.h @@ -131,6 +131,10 @@ class LV2Plugin : public ARDOUR::Plugin bool _was_activated; bool _has_state_interface; std::vector<bool> _port_is_input; + std::vector<bool> _port_is_output; + std::vector<bool> _port_is_midi; + std::vector<bool> _port_is_audio; + std::vector<bool> _port_is_control; std::map<std::string,uint32_t> _port_indices; |