Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Whoops, need a pointer to an LPDIRECTSOUNDBUFFER and not the
 LPDIRECTSOUNDBUFFER itself.
  • Loading branch information
icculus committed Oct 20, 2006
1 parent ded2621 commit 85d55a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/windx5/SDL_dx5audio.c
Expand Up @@ -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;
Expand Down

0 comments on commit 85d55a3

Please sign in to comment.