var.h

 HINSTANCE hInstance;
HWND hDlg,hDlg2;

HCURSOR hCursor;
HMENU hMenu;

CSoundManager* sndmanager=NULL;
CStreamingSound* g_pStreamingSound=NULL;
CWaveFile waveFile;
LPDIRECTSOUNDBUFFER pDSB;
LPDIRECTSOUNDBUFFER8 pDSB8;
WAVEFORMATEX *wfx;
DSEFFECTDESC dsEffect[10];

DWORD length,length2,pos,dwNotifySize;
HRESULT hr;
char FileName[MAX_PATH],aux[10],wave_length[10],seconds_played[10];
OPENFILENAME ofn;
bool play,pause,f,fx,changed;
int h,m,s;
DWORD step,visibility_flag;
RECT rect;
long attenuation,relvolume,seconds,freq_multiplied;
int a;

HANDLE g_hNotificationEvent=NULL;
DWORD g_dwNotifyThreadID=0;
HANDLE g_hNotifyThread=NULL;

LPDIRECTSOUNDFXCHORUS8 pDSChorus;
LPDIRECTSOUNDFXCOMPRESSOR8 pDSCompressor;
LPDIRECTSOUNDFXDISTORTION8 pDSDistortion;
LPDIRECTSOUNDFXECHO8 pDSEcho;
LPDIRECTSOUNDFXFLANGER8 pDSFlanger;
LPDIRECTSOUNDFXGARGLE8 pDSGargle;
LPDIRECTSOUNDFXPARAMEQ8 pDSParamEq;
LPDIRECTSOUNDFXWAVESREVERB8 pDSReverb;

DSFXChorus dsChorus;
DSFXCompressor dsCompressor;
DSFXDistortion dsDistortion;
DSFXEcho dsEcho;
DSFXFlanger dsFlanger;
DSFXGargle dsGargle;
DSFXParamEq dsParamEq;
DSFXWavesReverb dsReverb;

TC_ITEM tcitem[9];

Project Homepage: