diff options
Diffstat (limited to 'gtk2_ardour/patch_change_dialog.h')
-rw-r--r-- | gtk2_ardour/patch_change_dialog.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gtk2_ardour/patch_change_dialog.h b/gtk2_ardour/patch_change_dialog.h index 0691260126..1a0b63e51f 100644 --- a/gtk2_ardour/patch_change_dialog.h +++ b/gtk2_ardour/patch_change_dialog.h @@ -28,6 +28,7 @@ namespace ARDOUR { class BeatsFramesConverter; class Session; + class InstrumentInfo; } namespace MIDI { @@ -43,8 +44,7 @@ public: const ARDOUR::BeatsFramesConverter *, ARDOUR::Session *, Evoral::PatchChange<Evoral::MusicalTime> const &, - std::string const &, - std::string const &, + ARDOUR::InstrumentInfo&, const Gtk::BuiltinStockID & ); @@ -61,11 +61,8 @@ private: void bank_changed (); void program_changed (); - MIDI::Name::ChannelNameSet::PatchBanks const * get_banks (); - const ARDOUR::BeatsFramesConverter* _time_converter; - std::string _model_name; - std::string _custom_device_mode; + ARDOUR::InstrumentInfo& _info; AudioClock _time; Gtk::SpinButton _channel; Gtk::SpinButton _program; |