BASS_CONFIG_MIDI_IN_PORTS config option
The number of MIDI input ports to make available.
BASS_SetConfig(
BASS_CONFIG_MIDI_IN_PORTS,
DWORD ports
);
Parameters
| ports | Number of input ports... 0 (min) - 10 (max). |
Remarks
MIDI input ports allow MIDI data to be received from other software, not only MIDI devices. Once a port has been initialized via BASS_MIDI_InInit, the ALSA client and port IDs can be retrieved from BASS_MIDI_InGetDeviceInfo, which other software can use to connect to the port and send data to it. Prior to initialization, an input port will have a client ID of 0.The default is for 1 input port to be available.