InstrumentInfo::get_controller_name (Evoral::Parameter param) const
{
boost::shared_ptr<Processor> p = internal_instrument.lock();
- if (p || param.type() != MidiCCAutomation) {
+ if (param.type() != MidiCCAutomation) {
return "";
}
+ if (p) {
+ return get_plugin_controller_name (p, param);
+ }
boost::shared_ptr<MIDI::Name::MasterDeviceNames> dev_names(
MIDI::Name::MidiPatchManager::instance().master_device_by_model(
return _gm_patches;
}
+string
+InstrumentInfo::get_plugin_controller_name (boost::shared_ptr<ARDOUR::Processor>, Evoral::Parameter param) const
+{
+ return "";
+}
+
string
InstrumentInfo::get_plugin_patch_name (boost::shared_ptr<Processor> p, uint16_t bank, uint8_t program, uint8_t /*channel*/) const
{