Retrieves the MIDI port with which a track is associated in the tablature which is currently loaded.
- GPMID_ENTRY unsigned int GPMID_GetTrackMidiPort(
- unsigned int aTrackIdx
The zero-based index of the track for which to retrieve the associated MIDI port.
The MIDI port with which the track is associated in the tablature.
This function can be called with an index ranging from 0 to the value returned by GPMID_GetTrackCount minus 1.
If the name of the corresponding track is not set, this function returns an empty string.