home *** CD-ROM | disk | FTP | other *** search
/ WarCraft 2000 - Nuclear Epidemic / W2000.nrg / SOURCE.War2000 / CWAVE.H < prev    next >
C/C++ Source or Header  |  1995-10-10  |  615b  |  32 lines

  1. ///////////////////////////////////////////////////////////
  2. // CWAVE.H: Header file for the WAVE class.
  3. ///////////////////////////////////////////////////////////
  4.  
  5. #ifndef __CWAVE_H
  6. #define __CWAVE_H
  7.  
  8. #include <mmsystem.h>
  9.  
  10. class CWave : public CObject
  11. {
  12. protected:
  13.     DWORD m_waveSize;
  14.     BOOL m_waveOK;
  15.     char* m_pWave;
  16.     WAVEFORMATEX m_waveFormatEx;
  17.  
  18. public:
  19.     CWave(char* fileName);
  20.     ~CWave();
  21.  
  22.     DWORD GetWaveSize();
  23.     LPWAVEFORMATEX GetWaveFormatPtr();
  24.     char* GetWaveDataPtr();
  25.     BOOL WaveOK();
  26.  
  27. protected:
  28.     BOOL LoadWaveFile(char* fileName);
  29. };
  30.  
  31. #endif
  32.