Mercurial > sdl-ios-xcode
changeset 2051:c03f1446e897
Whoops, need a pointer to an LPDIRECTSOUNDBUFFER and not the
LPDIRECTSOUNDBUFFER itself.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Fri, 20 Oct 2006 00:15:18 +0000 |
parents | bbc89e09503f |
children | eb5e61b72da3 |
files | src/audio/windx5/SDL_dx5audio.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audio/windx5/SDL_dx5audio.c Wed Oct 18 10:49:23 2006 +0000 +++ b/src/audio/windx5/SDL_dx5audio.c Fri Oct 20 00:15:18 2006 +0000 @@ -329,7 +329,7 @@ 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;