diff options
author | Chris Robinson <[email protected]> | 2011-08-18 00:31:44 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-08-18 00:31:44 -0700 |
commit | f00017c8c1c14e473fce83ed5ef7678c4907c26b (patch) | |
tree | 404c58e6c2249b17d3013da71a42be9fa57d2fe7 /Alc | |
parent | d976d0293694e1cdab4f46fae5f14463995831c4 (diff) |
Avoid some LP types
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/dsound.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Alc/dsound.c b/Alc/dsound.c index be111d1d..e735f2f9 100644 --- a/Alc/dsound.c +++ b/Alc/dsound.c @@ -49,8 +49,8 @@ DEFINE_GUID(KSDATAFORMAT_SUBTYPE_IEEE_FLOAT, 0x00000003, 0x0000, 0x0010, 0x80, 0 static void *ds_handle; -static HRESULT (WINAPI *pDirectSoundCreate)(LPCGUID pcGuidDevice, LPDIRECTSOUND *ppDS, LPUNKNOWN pUnkOuter); -static HRESULT (WINAPI *pDirectSoundEnumerateA)(LPDSENUMCALLBACKA pDSEnumCallback, LPVOID pContext); +static HRESULT (WINAPI *pDirectSoundCreate)(LPCGUID pcGuidDevice, IDirectSound **ppDS, IUnknown *pUnkOuter); +static HRESULT (WINAPI *pDirectSoundEnumerateA)(LPDSENUMCALLBACKA pDSEnumCallback, void *pContext); #define DirectSoundCreate pDirectSoundCreate #define DirectSoundEnumerateA pDirectSoundEnumerateA @@ -58,11 +58,11 @@ static HRESULT (WINAPI *pDirectSoundEnumerateA)(LPDSENUMCALLBACKA pDSEnumCallbac typedef struct { // DirectSound Playback Device - LPDIRECTSOUND lpDS; - LPDIRECTSOUNDBUFFER DSpbuffer; - LPDIRECTSOUNDBUFFER DSsbuffer; - LPDIRECTSOUNDNOTIFY DSnotify; - HANDLE hNotifyEvent; + IDirectSound *lpDS; + IDirectSoundBuffer *DSpbuffer; + IDirectSoundBuffer *DSsbuffer; + IDirectSoundNotify *DSnotify; + HANDLE hNotifyEvent; volatile int killNow; ALvoid *thread; |