From 85d55a3754bcc7298aa8be9aa82c5cd43a0e1cf0 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 20 Oct 2006 00:15:18 +0000 Subject: [PATCH] Whoops, need a pointer to an LPDIRECTSOUNDBUFFER and not the LPDIRECTSOUNDBUFFER itself. --- src/audio/windx5/SDL_dx5audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/windx5/SDL_dx5audio.c b/src/audio/windx5/SDL_dx5audio.c index 95b9c0d72..e2766894e 100644 --- a/src/audio/windx5/SDL_dx5audio.c +++ b/src/audio/windx5/SDL_dx5audio.c @@ -329,7 +329,7 @@ static int CreateSecondary(_THIS, HWND focus, WAVEFORMATEX *wavefmt) { LPDIRECTSOUND sndObj = this->hidden->sound; - LPDIRECTSOUNDBUFFER *sndbuf = this->hidden->mixbuf; + LPDIRECTSOUNDBUFFER *sndbuf = &this->hidden->mixbuf; Uint32 chunksize = this->spec.size; const int numchunks = 8; HRESULT result = DS_OK;