Whoops, need a pointer to an LPDIRECTSOUNDBUFFER and not the
authorRyan C. Gordon <icculus@icculus.org>
Fri, 20 Oct 2006 00:15:18 +0000
changeset 2051c03f1446e897
parent 2050 bbc89e09503f
child 2052 eb5e61b72da3
Whoops, need a pointer to an LPDIRECTSOUNDBUFFER and not the
LPDIRECTSOUNDBUFFER itself.
src/audio/windx5/SDL_dx5audio.c
     1.1 --- a/src/audio/windx5/SDL_dx5audio.c	Wed Oct 18 10:49:23 2006 +0000
     1.2 +++ b/src/audio/windx5/SDL_dx5audio.c	Fri Oct 20 00:15:18 2006 +0000
     1.3 @@ -329,7 +329,7 @@
     1.4  CreateSecondary(_THIS, HWND focus, WAVEFORMATEX *wavefmt)
     1.5  {
     1.6      LPDIRECTSOUND sndObj = this->hidden->sound;
     1.7 -    LPDIRECTSOUNDBUFFER *sndbuf = this->hidden->mixbuf;
     1.8 +    LPDIRECTSOUNDBUFFER *sndbuf = &this->hidden->mixbuf;
     1.9      Uint32 chunksize = this->spec.size;
    1.10      const int numchunks = 8;
    1.11      HRESULT result = DS_OK;