This class implements a custom low latency USB MIDI stack for Android, fully bypassing the Android system MIDI stack.
More...
#include "SuperpoweredAndroidUSB.h"
This class implements a custom low latency USB MIDI stack for Android, fully bypassing the Android system MIDI stack.
◆ send()
static void Superpowered::AndroidUSBMIDI::send |
( |
int |
deviceID, |
|
|
unsigned char * |
data, |
|
|
int |
bytes |
|
) |
| |
|
static |
Sends MIDI to a USB MIDI device.
- Parameters
-
deviceID | Device identifier. |
data | Raw MIDI data. |
bytes | Number of bytes. |
◆ startIO()
- Returns
- Starts MIDI input/output and returns with success (true) or failure (false).
- Parameters
-
deviceID | Device identifier. |
clientdata | Custom pointer for the callback. |
callback | The callback to be called when MIDI input is available. |
◆ stopIO()
static void Superpowered::AndroidUSBMIDI::stopIO |
( |
int |
deviceID | ) |
|
|
static |
Stops MIDI input/output.
- Parameters
-
deviceID | Device identifier. |
The documentation for this class was generated from the following file:
- latest/Superpowered/SuperpoweredAndroidUSB.h