summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/plugin.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-04-01 06:53:26 +0200
committerRobin Gareus <robin@gareus.org>2020-04-01 16:31:58 +0200
commit3b77472ac0634f77a938c34c60e2b66804eee94c (patch)
tree350dc179be1d089d846f5608c43c490b51cd7407 /libs/ardour/ardour/plugin.h
parent26c6d3c4c9d8d02aee3c58004b7b616b66630d22 (diff)
Overhaul InstrumentInfo
* Remove unused direct calls into plugin * Assume empty model to mean plugin-provided MIDNAM (!) The route owned Instrument-Info is the central access point used by the GUI for MIDI name lookups. At this point in time, custom settings are saved/restored by the GUI (MidiTimeAxisView). InstrumentInfo provides a volatile store for MIDNAM mode and model.
Diffstat (limited to 'libs/ardour/ardour/plugin.h')
-rw-r--r--libs/ardour/ardour/plugin.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/libs/ardour/ardour/plugin.h b/libs/ardour/ardour/plugin.h
index cdcc313578..7ffbc1fdf9 100644
--- a/libs/ardour/ardour/plugin.h
+++ b/libs/ardour/ardour/plugin.h
@@ -250,26 +250,6 @@ public:
std::vector<PresetRecord> get_presets ();
- /** @return true if this plugin will respond to MIDI program
- * change messages by changing presets.
- *
- * This is hard to return a correct value for because most plugin APIs
- * do not specify plugin behaviour. However, if you want to force
- * the display of plugin built-in preset names rather than MIDI program
- * numbers, return true. If you want a generic description, return
- * false.
- */
- virtual bool presets_are_MIDI_programs () const { return false; }
-
- /** @return true if this plugin is General MIDI compliant, false
- * otherwise.
- *
- * It is important to note that it is is almost impossible for a host
- * (e.g. Ardour) to determine this for just about any plugin API
- * known as of June 2012
- */
- virtual bool current_preset_uses_general_midi () const { return false; }
-
/** @return Last preset to be requested; the settings may have
* been changed since; find out with parameter_changed_since_last_preset.
*/