This section describes all constants used in MIDAS sample playback. They are grouped according to the enum used to define them.
enum MIDASsampleTypes
These constants identify different sample types. They are used with the functions MIDASloadRawSample, MIDASplayStreamFile and MIDASplayStreamPolling to indicate the format of the sample data. The byte order of the sample data is always the system native order (little endian for Intel x86 systems).
enum MIDASloop
These constants are used to indicate the loop type of a sample or stream.
enum MIDASpanning
These constants are used to describe the panning position of a sound. Legal panning positions range from -64 (extreme left) to 64 (extreme right), inclusive, plus MIDAS_PAN_SURROUND for surround sound.
enum MIDASchannels
These constants are used to indicate the channel number a sound should be played on. Legal channel numbers range from 0 upwards, depending on the number of open channels. In addition, MIDAS_CHANNEL_AUTO can be used with MIDASplaySample.