TransportEnd,
TransportLoopToggle,
TransportRecordEnable,
- TransportRecordDisable
+ TransportRecordDisable,
+ /* 1 argument functions: RID */
+ Select,
+ /* 2 argument functions: RID, value */
+ TrackSetSolo,
+ TrackSetMute,
+ TrackSetGain,
+ TrackSetRecordEnable,
+ TrackSetSoloIsolate,
};
MIDIFunction (MIDI::Port&);
virtual ~MIDIFunction ();
- int init (GenericMidiControlProtocol&, const std::string& function_name, MIDI::byte* sysex = 0, size_t ssize = 0);
+ int setup (GenericMidiControlProtocol&, const std::string& function_name, const std::string& argument, MIDI::byte* sysex = 0, size_t ssize = 0);
const std::string& function_name() const { return _invokable_name; }
private:
Function _function;
+ std::string _argument;
void execute ();
};