/*--------------------------------------------------------------------------------
'Nom du projet : Oscilloscope
'Outil : Visual C++ 6
'Nom du fichier: WavePlay.cpp : implementation file
'Realisation:Mathieu Texier et Emmanuel Traineau
'Date: Juin 2003
'Responsable: Eric Meleiro
'--------------------------------------------------------------------------------
*/
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
#include <mmsystem.h>
class CWavePlay : public CObject
{
public:
CWavePlay();
~CWavePlay();
void Stop (void);
void MakeWaveFile (WORD, DWORD, WORD, void*, DWORD, LPSTR);
BOOL IsActive (void);
protected:
UINT m_numdevs;
HWAVEOUT m_hwo;
WAVEHDR m_whdr;
WAVEFORMATEX m_wvx;
};