void dxLoadSound( char* szSource, int iSound, int iSource = 0 );
    Intention:  load a wave sound file into the specified sound number (0-1023)
    Parameter:  szSource = filename, memory address, or resource name
                iSource = 0 (file), 1 (memory), -1 (as a resource)
    Remark:     support PCM and MS ADPCM only

void dxPlaySound( int iSound );
    Intention:  play the existing specified sound number (0-1023) once

void dxLoopSound( int iSound, int iLoop = -1 );
    Intention:  play and loop the existing specified sound number (0-1023)
    Parameter:  iLoop = number of loops, default to forever
    Remark:     sound is actually played iLoop+1 times

void dxStopSound( int iSound );
void dxPauseSound( int iSound );
void dxDeleteSound( int iSound );
    Intention:  stop/pause/delete the specified sound number (0-1023)
    Remark:     try if dxPlaySound/dxLoopSound works for resuming paused sound

void dxSetSoundVolume( int iSound, int iVolume );
    Intention:  set the percentage volume for the specified sound number
    Parameter:  0<=iVolume<=200 (0=silent, 100=original, 200=magnified)

void dxSetSoundSpeed( int iSound, int iSpeed );
    Intention:  set the frequency adjustment ratio for the specified sound number
    Parameter:  10<=iSpeed<=1000 (iSpeed<100: low, 100=original, 100<iSpeed: high)
    Remark:     it takes a while to affect sound currently being played 

void dxSetSoundPan( int iSound, int iPan );
    Intention:  set the pan by changing volume levels of left and right speakers
    Parameter:  -100<=iPan<=100 (iPan<0: shift left, 0=balanced, 0<iPan: shift right)
    Remark:     when left volume = 0, right = 200 (doubles), or vice versa

void dxPauseAudio( void );
void dxResumeAudio( void );
    Intention:  pause/resume all audio output

bool dxSoundExist( int iSound );
bool dxSoundPlaying( int iSound );
    Intention:  return true if the specified sound number exists or is playing

int dxSoundExist( void );
int dxSoundPlaying( void );
    Intention:  return total number of sounds currently in existence or being played

int dxSoundVolume( int iSound );
int dxSoundSpeed( int iSound );
int dxSoundPan( int iSound );
    Intention:  get the volume, speed, and pan of specified sound number
