* include/amaudio.h: New file.

* include/dshow.h: Include <amaudio.h>.
This commit is contained in:
Dimitri Papadopoulos 2006-05-03 07:47:23 +00:00
parent cedb1281cf
commit 7d1555a200
3 changed files with 41 additions and 2 deletions

View File

@ -1,9 +1,14 @@
2006-05-02 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
2006-05-03 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
* include/amaudio.h: New file.
* include/dshow.h: Include <amaudio.h>.
2006-05-03 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
* include/errors.h: New file.
* include/dshow.h: Include <errors.h>.
2006-05-02 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
2006-05-03 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
* include/dshow.h: New file.
* include/evcode.h: New file.

View File

@ -0,0 +1,33 @@
#ifndef _AMAUDIO_H
#define _AMAUDIO_H
#if __GNUC__ >= 3
#pragma GCC system_header
#endif
#include <dsound.h>
#ifdef __cplusplus
extern "C" {
#endif
#define INTERFACE IAMDirectSound
DECLARE_INTERFACE_(IAMDirectSound, IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,LPVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetDirectSoundInterface)(THIS_ LPDIRECTSOUND*) PURE;
STDMETHOD(GetPrimaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER*) PURE;
STDMETHOD(GetSecondaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER*) PURE;
STDMETHOD(GetFocusWindow)(THIS_ HWND*,BOOL*) PURE ;
STDMETHOD(ReleaseDirectSoundInterface)(THIS_ LPDIRECTSOUND) PURE;
STDMETHOD(ReleasePrimaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER) PURE;
STDMETHOD(ReleaseSecondaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER) PURE;
STDMETHOD(SetFocusWindow)(THIS_ HWND,BOOL) PURE ;
};
#undef INTERFACE
#ifdef __cplusplus
}
#endif
#endif

View File

@ -4,6 +4,7 @@
#pragma GCC system_header
#endif
#include <amaudio.h>
#include <evcode.h>
#include <audevcod.h>
#include <dvdevcod.h>