summaryrefslogtreecommitdiff
path: root/libs/surfaces/faderport8
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-01-27 20:53:31 +0100
committerRobin Gareus <robin@gareus.org>2018-01-27 20:53:31 +0100
commit0aa0d49a4d7e4ec3e1b279e5d7e5326e012a9f6c (patch)
tree1c5f8cf4a81d059847c09b51a75e54ab356a99f8 /libs/surfaces/faderport8
parent0423247dd7172167e72315ff03d132c05d858627 (diff)
FP8/16: Don't show Channelstrip as Plugin, use well-known API only
Diffstat (limited to 'libs/surfaces/faderport8')
-rw-r--r--libs/surfaces/faderport8/faderport8.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/libs/surfaces/faderport8/faderport8.cc b/libs/surfaces/faderport8/faderport8.cc
index 9cde77a2ff..c881ec33c2 100644
--- a/libs/surfaces/faderport8/faderport8.cc
+++ b/libs/surfaces/faderport8/faderport8.cc
@@ -1438,12 +1438,14 @@ FaderPort8::spill_plugins ()
for (uint32_t i = 0; 0 != (proc = r->nth_plugin (i)); ++i) {
if (!proc->display_to_user ()) {
+ continue;
+ }
#ifdef MIXBUS
- boost::shared_ptr<PluginInsert> pi = boost::dynamic_pointer_cast<PluginInsert> (proc);
- if (pi->is_channelstrip ()) // don't skip MB PRE
-#endif
+ /* don't show channelstrip plugins, use "well known" */
+ if (boost::dynamic_pointer_cast<PluginInsert> (proc)->is_channelstrip ()) {
continue;
}
+#endif
int n_controls = 0;
set<Evoral::Parameter> p = proc->what_can_be_automated ();
for (set<Evoral::Parameter>::iterator j = p.begin(); j != p.end(); ++j) {