8 #ifndef _INC_cWaveACM_H
9 #define _INC_cWaveACM_H
10 #ifndef NO_PRAGMA_ONCE
16 #if defined(_WIN32) && defined(_MSC_VER)
28 ::acmStreamClose(h, 0);
35 :
public cSingleton<cWaveACM>
41 friend class cSingleton<cWaveACM>;
49 typedef wchar_t CHAR_t;
50 typedef struct tACMFORMATTAGDETAILSW FORMATTAGDETAILS_t;
53 typedef _GTN(::ACMFORMATTAGDETAILS) FORMATTAGDETAILS_t;
61 bool isACMAttached() const noexcept
64 return m_bGetVersion ;
72 int FormatDlg(HWND hwnd, cWaveFormat& Form,
const CHAR_t* pszTitle, UINT dwEnum);
75 HRESULT GetFormatDetails(
const cWaveFormatEx* pForm, FORMATTAGDETAILS_t&
details);
88 cHandlePtr<HACMSTREAM> m_hStream;
90 cWaveFormat m_SrcForm;
91 cWaveFormat m_DstForm;
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
Using X files without the sources and the makefile How to use you just create a debug directory e the sample3 directory must contain Sample3 Final Sample3 exe Sample3 Final Debug Sample3 Final Gfx OpenGL bmp Sample3 Final Gfx tiny_skin bmp Sample3 Final Gfx tiny_4anim x The source files have the DevCpp project file plus the makefile The demos use standard FreeGlut functions Technical details
Definition: Readme.txt:32
#define _GTN(c)
_WIN32 name has a A or W for UTF8 or UNICODE (like _FNF)
Definition: StrConst.h:28
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
#define CHEAPOBJECT_IMPL
Definition: cHeapObject.h:32
#define UNITTEST_FRIEND(n)
Define this in the class body to be unit tested. Allow the unit test to access private/protected stuf...
Definition: cUnitTestDecl.h:17
void CloseHandle()
Definition: cHandlePtr.h:79
UINT WAVE_BLOCKS_t
Index in blocks (not bytes or samples) of current wave format in sound buffer.
Definition: cWaveFormat.h:67
< The main namespace for all Core functions.
Definition: GrayCore.cpp:14
class __DECL_IMPORT cStreamOutput
Definition: cString.h:27
char GChar_t
My version of TCHAR, _TCHAR.
Definition: StrConst.h:26
class __DECL_IMPORT cStreamInput
Definition: cString.h:26