Paul Davis
a157537898
b) added initial "big meter" mode for tranzport c) fixed some lock issues in ARDOUR::IO objects d) generic_midi control surface module now compiles and loads git-svn-id: svn://localhost/trunk/ardour2@450 d708f5d6-7413-0410-9779-e7cbd77b26cf
36 lines
656 B
C++
36 lines
656 B
C++
#ifndef ardour_generic_midi_control_protocol_h
|
|
#define ardour_generic_midi_control_protocol_h
|
|
|
|
#include <ardour/control_protocol.h>
|
|
|
|
namespace MIDI {
|
|
class Port;
|
|
}
|
|
|
|
namespace ARDOUR {
|
|
|
|
class GenericMidiControlProtocol : public ControlProtocol {
|
|
public:
|
|
GenericMidiControlProtocol (Session&);
|
|
virtual ~GenericMidiControlProtocol();
|
|
|
|
int init ();
|
|
|
|
bool active() const;
|
|
|
|
void set_port (MIDI::Port*);
|
|
MIDI::Port* port () const { return _port; }
|
|
|
|
void send_route_feedback (std::list<Route*>&);
|
|
|
|
private:
|
|
void route_feedback (ARDOUR::Route&, bool);
|
|
MIDI::Port* _port;
|
|
|
|
void port_change ();
|
|
};
|
|
|
|
}
|
|
|
|
#endif // ardour_generic_midi_control_protocol_h
|