openMIDIInput

Opens an input for a MIDI stream.

int
openMIDIInput
(,
uint num
,
size_t bufSize = 1024
)

Parameters

input MIDIInput

Stream returned here.

num uint

The ID of the device.

bufSize size_t

The input buffer size if applicable (1024 by default).

Return Value

Type: int

0 if the operation is successful, or an error code.

Meta