Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
cWaveStream.h
Go to the documentation of this file.
1 //
4 //
5 
6 #ifndef _INC_cWaveStream_H
7 #define _INC_cWaveStream_H
8 #ifndef NO_PRAGMA_ONCE
9 #pragma once
10 #endif
11 
12 #include "cWaveDevice.h"
14 
15 namespace GrayLib
16 {
18  {
23  public:
25  };
26 
28  {
31 #ifdef _WIN32
32  private:
34  cArrayStruct<cWaveHeaderBase> m_aBlock; // feed some input buffers.
35  private:
36  void OnRecData(HWAVEIN hWaveIn, LPWAVEHDR pHdr);
37 #endif
38  };
39 
41  {
44 #ifdef _WIN32
45  private:
46  cRefPtr<cWavePlayer> m_pDev;
47 #endif
48  };
49 };
50 
51 #endif
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
Definition: cWaveFormat.h:151
Definition: cWaveStream.h:28
Definition: cWaveStream.h:41
Definition: cWaveStream.h:18
cWaveFormat m_Format
Set format.
Definition: cWaveStream.h:24
Definition: cArray.h:932
Definition: cRefPtr.h:225
Definition: cStream.h:306
Definition: cStream.h:126
Definition: cMesh.h:22