Input

sample
The sample that will be played
channel
The channel number that is used to play the sample. Use MIDAS_CHANNEL_AUTO to let MIDASplaySample select the channel automatically. See enum MIDASchannels.
priority
Sample playing priority. The higher the value the more important the sample is considered.
rate
Initial sample rate for the sample
volume
Initial volume for the sample
panning
Initial panning position for the sample. See enum MIDASpanning.