
#ifndef _SoundGlobal_H_
#define _SoundGlobal_H_

//#pragma warning( disable:6311 )

/////////////////////////////////////////////////////////////////////////////////////////
//

typedef struct HWND__*	HWND;
typedef unsigned long	DWORD;
typedef void *			HANDLE;
typedef float			D3DVALUE;

#define WAVEFILEEXT	".wav"
#define WAVEFILEEXT2 ".mnd"
#define OGGFILEEXT	".ogg"
#define FAKEFILEEXT ".z3s"

/////////////////////////////////////////////////////////////////////////////////////////
//

struct	IDirectSound8;
struct	IDirectSound3DListener;
struct	IDirectSound8;
struct	IDirectSoundBuffer8;
struct  IDirectSoundBuffer;
struct	IDirectSound3DBuffer;
struct	IDirectMusicSegment8;
struct	IDirectMusicLoader8;
struct	IDirectMusicPerformance8;
typedef struct IDirectMusicAudioPath	IDirectMusicAudioPath8;
class	ISoundFile;
class	ISoundObject;
class	CDirectMusic;

/////////////////////////////////////////////////////////////////////////////////////////
//

void	SNDError( const char * Msg, ... );
void	SNDError_Debug( const char * Msg, ... );
bool	IsFileExist2( const char * szFilename );
bool	IsWaveFile( const char * szFilename );

/////////////////////////////////////////////////////////////////////////////////////////

#endif