mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
Refactor Ctrl Surface API
* reserve "probe" to actually probe for devices * use separate probe for libusb and MIDI port devices * use "available" to check if surface can be used * allow both methods to be NULL * remove unused ControlProtocolDescriptor* argument Most surface just return `true` for available.
This commit is contained in:
parent
7c02ab9937
commit
65346496f5
38 changed files with 203 additions and 321 deletions
|
|
@ -84,7 +84,7 @@ public:
|
|||
|
||||
DeviceType device_type() const { return _device_type; }
|
||||
|
||||
static bool probe ();
|
||||
static bool available ();
|
||||
|
||||
int set_active (bool yn);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue