}
DEBUG_TRACE (DEBUG::Processors, string_compose ("Plugin insert, input streams = %1, match using %2\n", in, _match.method));
-
+
if (_match.method == Split) {
/* we are splitting 1 processor input to multiple plugin inputs,
return in;
} else {
-
+
for (DataType::iterator t = DataType::begin(); t != DataType::end(); ++t) {
in.set (*t, in.get (*t) * _plugins.size ());
}
We allow replication only for plugins with either zero or 1 inputs and outputs
for every valid data type.
*/
-
+
uint32_t f = 0;
bool can_replicate = true;
for (DataType::iterator t = DataType::begin(); t != DataType::end(); ++t) {
bool could_hide = false;
bool cannot_hide = false;
ChanCount hide_channels;
-
+
for (DataType::iterator t = DataType::begin(); t != DataType::end(); ++t) {
if (inputs.get(*t) > in.get(*t)) {
/* there is potential to hide, since the plugin has more inputs of type t than the insert */
PluginInsert::add_plugin (boost::shared_ptr<Plugin> plugin)
{
plugin->set_insert_id (this->id());
-
+
if (_plugins.empty()) {
/* first (and probably only) plugin instance - connect to relevant signals
*/