VCV Rack API v2
|
Abstraction for all MIDI drivers in Rack. More...
Classes | |
struct | Device |
A single MIDI device of a driver API. More... | |
struct | Driver |
Wraps a MIDI driver API containing any number of MIDI devices. More... | |
struct | Input |
struct | InputDevice |
struct | InputQueue |
An Input port that stores incoming MIDI messages and releases them when ready according to their frame timestamp. More... | |
struct | Message |
struct | Output |
struct | OutputDevice |
struct | Port |
A handle to a Device, typically owned by modules to have shared access to a single Device. More... | |
Functions | |
PRIVATE void | init () |
PRIVATE void | destroy () |
void | addDriver (int driverId, Driver *driver) |
Registers a new MIDI driver. | |
std::vector< int > | getDriverIds () |
Driver * | getDriver (int driverId) |
Abstraction for all MIDI drivers in Rack.
PRIVATE void rack::midi::init | ( | ) |
PRIVATE void rack::midi::destroy | ( | ) |
void rack::midi::addDriver | ( | int | driverId, |
Driver * | driver ) |
Registers a new MIDI driver.
Takes pointer ownership.
std::vector< int > rack::midi::getDriverIds | ( | ) |
Driver * rack::midi::getDriver | ( | int | driverId | ) |