These are method that you must use to initialize and run a device.
Members | Descriptions |
---|---|
public void midi_device_init ( MidiDevice * device) |
Initialize a device. |
public void midi_device_process ( MidiDevice * device) |
Process input data. |
public void
midi_device_init
(
MidiDevice
* device)
{#group__midi__device__setup__process_1gaf29deddc94ea98a59daa0bde1aefd9d9}
Initialize a device.
You must call this before using the device in question.
device
the device to initialize
public void
midi_device_process
(
MidiDevice
* device)
{#group__midi__device__setup__process_1gaa3d5993d0e998a1b59bbf5ab9c7b492b}
Process input data.
This method drives the input processing, you must call this method frequently if you expect to have your input callbacks called.
device
the device to process