This section describes all data types used in MIDAS module playback.
typedef struct { char songName[32]; unsigned songLength; unsigned numPatterns; unsigned numInstruments; unsigned numChannels; } MIDASmoduleInfo;
Module information structure.
This structure is used with the function MIDASgetModuleInfo to query information about an module. MIDASgetModuleInfo fills a MIDASmoduleInfo structure with the information.
typedef struct { char instName[32]; } MIDASinstrumentInfo;
Instrument information structure.
This structure is used with the function MIDASgetInstrumentInfo to query information about an instrument in a module. MIDASgetInstrumentInfo fills a MIDASinstrumentInfo structure with the information.
typedef struct { unsigned position; unsigned pattern; unsigned row; int syncInfo; } MIDASplayStatus;
Module status information structure.
This structure is used with the function MIDASgetPlayStatus to query the current module playback status. MIDASgetPlayStatus fills a MIDASplayStatus structure with the information.
Some more information about the synchronization commands: In protracker and Scream Tracker 3 modules, the command Wxx is used as a music synchronization command. The infobyte of this command is available as the music synchronization command infobyte above.
typedef ... MIDASmodule;
MIDASmodule is a module handle that defines a module that has been loaded into memory.