Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Whoops, need a pointer to an LPDIRECTSOUNDBUFFER and not the

 LPDIRECTSOUNDBUFFER itself.
  • Loading branch information
icculus committed Oct 20, 2006
1 parent ded2621 commit 85d55a3754bcc7298aa8be9aa82c5cd43a0e1cf0
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit 85d55a3

Please sign in to comment.