Commit 0c642e7e authored by Ryan C. Gordon's avatar Ryan C. Gordon

Whoops, need a pointer to an LPDIRECTSOUNDBUFFER and not the

 LPDIRECTSOUNDBUFFER itself.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402197
parent 95b6efb6
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment