aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/dsound.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-08-18 00:31:44 -0700
committerChris Robinson <[email protected]>2011-08-18 00:31:44 -0700
commitf00017c8c1c14e473fce83ed5ef7678c4907c26b (patch)
tree404c58e6c2249b17d3013da71a42be9fa57d2fe7 /Alc/dsound.c
parentd976d0293694e1cdab4f46fae5f14463995831c4 (diff)
Avoid some LP types
Diffstat (limited to 'Alc/dsound.c')
-rw-r--r--Alc/dsound.c14
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;