Last change
on this file since 1141 was 1046, checked in by alloc, 8 years ago |
Daodan: Added Windows MinGW and build batch file
|
File size:
952 bytes
|
Line | |
---|
1 | #ifndef _AMAUDIO_H
|
---|
2 | #define _AMAUDIO_H
|
---|
3 | #if __GNUC__ >= 3
|
---|
4 | #pragma GCC system_header
|
---|
5 | #endif
|
---|
6 |
|
---|
7 | #include <dsound.h>
|
---|
8 |
|
---|
9 | #ifdef __cplusplus
|
---|
10 | extern "C" {
|
---|
11 | #endif
|
---|
12 |
|
---|
13 | #define INTERFACE IAMDirectSound
|
---|
14 | DECLARE_INTERFACE_(IAMDirectSound, IUnknown)
|
---|
15 | {
|
---|
16 | STDMETHOD(QueryInterface)(THIS_ REFIID,LPVOID*) PURE;
|
---|
17 | STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
---|
18 | STDMETHOD_(ULONG,Release)(THIS) PURE;
|
---|
19 | STDMETHOD(GetDirectSoundInterface)(THIS_ LPDIRECTSOUND*) PURE;
|
---|
20 | STDMETHOD(GetPrimaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER*) PURE;
|
---|
21 | STDMETHOD(GetSecondaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER*) PURE;
|
---|
22 | STDMETHOD(GetFocusWindow)(THIS_ HWND*,BOOL*) PURE ;
|
---|
23 | STDMETHOD(ReleaseDirectSoundInterface)(THIS_ LPDIRECTSOUND) PURE;
|
---|
24 | STDMETHOD(ReleasePrimaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER) PURE;
|
---|
25 | STDMETHOD(ReleaseSecondaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER) PURE;
|
---|
26 | STDMETHOD(SetFocusWindow)(THIS_ HWND,BOOL) PURE ;
|
---|
27 | };
|
---|
28 | #undef INTERFACE
|
---|
29 |
|
---|
30 | #ifdef __cplusplus
|
---|
31 | }
|
---|
32 | #endif
|
---|
33 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.