diff options
author | Dimitri Papadopoulos <dimitri_at@users.sf.net> | 2006-05-03 11:47:23 +0400 |
---|---|---|
committer | Dimitri Papadopoulos <dimitri_at@users.sf.net> | 2006-05-03 11:47:23 +0400 |
commit | 7d1555a200fdc9d8026bc5f9ac297e8b2e337d3b (patch) | |
tree | 3c233f7daad4a5ade0179d09e84757027135bb19 /winsup/w32api | |
parent | cedb1281cfd8ddc0fb35c2ceb6ce10666ea5c924 (diff) |
* include/amaudio.h: New file.
* include/dshow.h: Include <amaudio.h>.
Diffstat (limited to 'winsup/w32api')
-rw-r--r-- | winsup/w32api/ChangeLog | 9 | ||||
-rw-r--r-- | winsup/w32api/include/amaudio.h | 33 | ||||
-rw-r--r-- | winsup/w32api/include/dshow.h | 1 |
3 files changed, 41 insertions, 2 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 8728c997f..6dd08f68c 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -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. diff --git a/winsup/w32api/include/amaudio.h b/winsup/w32api/include/amaudio.h new file mode 100644 index 000000000..94e23ac53 --- /dev/null +++ b/winsup/w32api/include/amaudio.h @@ -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 diff --git a/winsup/w32api/include/dshow.h b/winsup/w32api/include/dshow.h index fce9a6124..be12c22de 100644 --- a/winsup/w32api/include/dshow.h +++ b/winsup/w32api/include/dshow.h @@ -4,6 +4,7 @@ #pragma GCC system_header #endif +#include <amaudio.h> #include <evcode.h> #include <audevcod.h> #include <dvdevcod.h> |