2022-02-21 17:10:03 +00:00
|
|
|
# group `midi_device_setup_process`
|
2020-11-10 15:02:44 +00:00
|
|
|
|
|
|
|
These are method that you must use to initialize and run a device.
|
|
|
|
|
|
|
|
## Summary
|
|
|
|
|
|
|
|
Members | Descriptions
|
|
|
|
--------------------------------|---------------------------------------------
|
2022-05-28 22:02:20 +00:00
|
|
|
`public void `[`midi_device_init`](#group__midi__device__setup__process_1gaf29deddc94ea98a59daa0bde1aefd9d9)`(`[`MidiDevice`](.build/docs/internals/midi_device.md#struct__midi__device)` * device)` | Initialize a device.
|
|
|
|
`public void `[`midi_device_process`](#group__midi__device__setup__process_1gaa3d5993d0e998a1b59bbf5ab9c7b492b)`(`[`MidiDevice`](.build/docs/internals/midi_device.md#struct__midi__device)` * device)` | Process input data.
|
2020-11-10 15:02:44 +00:00
|
|
|
|
|
|
|
## Members
|
|
|
|
|
2022-05-28 22:02:20 +00:00
|
|
|
#### `public void `[`midi_device_init`](#group__midi__device__setup__process_1gaf29deddc94ea98a59daa0bde1aefd9d9)`(`[`MidiDevice`](.build/docs/internals/midi_device.md#struct__midi__device)` * device)`
|
2020-11-10 15:02:44 +00:00
|
|
|
|
|
|
|
Initialize a device.
|
|
|
|
|
|
|
|
You must call this before using the device in question.
|
|
|
|
|
|
|
|
#### Parameters
|
|
|
|
* `device` the device to initialize
|
|
|
|
|
2022-05-28 22:02:20 +00:00
|
|
|
#### `public void `[`midi_device_process`](#group__midi__device__setup__process_1gaa3d5993d0e998a1b59bbf5ab9c7b492b)`(`[`MidiDevice`](.build/docs/internals/midi_device.md#struct__midi__device)` * device)`
|
2020-11-10 15:02:44 +00:00
|
|
|
|
|
|
|
Process input data.
|
|
|
|
|
|
|
|
This method drives the input processing, you must call this method frequently if you expect to have your input callbacks called.
|
|
|
|
|
|
|
|
#### Parameters
|
|
|
|
* `device` the device to process
|
|
|
|
|