home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
WarCraft 2000 - Nuclear Epidemic
/
W2000.nrg
/
SOURCE.War2000
/
CWAVE.H
< prev
next >
Wrap
C/C++ Source or Header
|
1995-10-10
|
615b
|
32 lines
///////////////////////////////////////////////////////////
// CWAVE.H: Header file for the WAVE class.
///////////////////////////////////////////////////////////
#ifndef __CWAVE_H
#define __CWAVE_H
#include <mmsystem.h>
class CWave : public CObject
{
protected:
DWORD m_waveSize;
BOOL m_waveOK;
char* m_pWave;
WAVEFORMATEX m_waveFormatEx;
public:
CWave(char* fileName);
~CWave();
DWORD GetWaveSize();
LPWAVEFORMATEX GetWaveFormatPtr();
char* GetWaveDataPtr();
BOOL WaveOK();
protected:
BOOL LoadWaveFile(char* fileName);
};
#endif