Remove unused API (and some MIXBUS specifics)
This commit is contained in:
parent
e99fe62137
commit
539b61f127
|
@ -118,8 +118,6 @@ public:
|
|||
bool inplace () const { return ! _no_inplace; }
|
||||
|
||||
bool is_channelstrip () const;
|
||||
bool is_nonbypassable () const;
|
||||
bool show_on_ctrl_surface () const;
|
||||
|
||||
void set_input_map (uint32_t, ChanMapping);
|
||||
void set_output_map (uint32_t, ChanMapping);
|
||||
|
|
|
@ -1515,7 +1515,6 @@ LuaBindings::common (lua_State* L)
|
|||
.addFunction ("signal_latency", &PluginInsert::signal_latency)
|
||||
.addFunction ("get_count", &PluginInsert::get_count)
|
||||
.addFunction ("is_channelstrip", &PluginInsert::is_channelstrip)
|
||||
.addFunction ("is_nonbypassable", &PluginInsert::is_nonbypassable)
|
||||
.addFunction ("clear_stats", &PluginInsert::clear_stats)
|
||||
.addRefFunction ("get_stats", &PluginInsert::get_stats)
|
||||
.endClass ()
|
||||
|
|
|
@ -677,11 +677,6 @@ PluginInsert::activate ()
|
|||
void
|
||||
PluginInsert::deactivate ()
|
||||
{
|
||||
#ifdef MIXBUS
|
||||
if (is_nonbypassable ()) {
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
_timing_stats.reset ();
|
||||
Processor::deactivate ();
|
||||
|
||||
|
@ -1590,30 +1585,7 @@ PluginInsert::has_midi_thru () const
|
|||
bool
|
||||
PluginInsert::is_channelstrip () const
|
||||
{
|
||||
#ifdef MIXBUS
|
||||
return _plugins.front()->is_channelstrip();
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool
|
||||
PluginInsert::is_nonbypassable () const
|
||||
{
|
||||
#ifdef MIXBUS
|
||||
return _plugins.front()->is_nonbypassable ();
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool
|
||||
PluginInsert::show_on_ctrl_surface () const
|
||||
{
|
||||
if (is_channelstrip () || !is_nonbypassable ()) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
Loading…
Reference in New Issue
Block a user