mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
modification to make generic MIDI actually work again
git-svn-id: svn://localhost/ardour2/trunk@673 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
05f8fcd189
commit
26843b34fd
14 changed files with 142 additions and 24 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef ardour_generic_midi_control_protocol_h
|
||||
#define ardour_generic_midi_control_protocol_h
|
||||
|
||||
#include <vector>
|
||||
#include <set>
|
||||
#include <glibmm/thread.h>
|
||||
#include <ardour/types.h>
|
||||
|
||||
|
|
@ -32,6 +32,9 @@ class GenericMidiControlProtocol : public ARDOUR::ControlProtocol {
|
|||
MIDI::Port* port () const { return _port; }
|
||||
void set_feedback_interval (ARDOUR::microseconds_t);
|
||||
|
||||
XMLNode& get_state ();
|
||||
int set_state (const XMLNode&);
|
||||
|
||||
private:
|
||||
MIDI::Port* _port;
|
||||
ARDOUR::microseconds_t _feedback_interval;
|
||||
|
|
@ -40,7 +43,7 @@ class GenericMidiControlProtocol : public ARDOUR::ControlProtocol {
|
|||
void _send_feedback ();
|
||||
void send_feedback ();
|
||||
|
||||
typedef std::vector<MIDIControllable*> MIDIControllables;
|
||||
typedef std::set<MIDIControllable*> MIDIControllables;
|
||||
MIDIControllables controllables;
|
||||
MIDIControllables pending_controllables;
|
||||
Glib::Mutex controllables_lock;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue