mirror of
https://github.com/yawut/SDL.git
synced 2026-04-19 15:17:23 -05:00
Whoops, need a pointer to an LPDIRECTSOUNDBUFFER and not the
LPDIRECTSOUNDBUFFER itself.
This commit is contained in:
parent
2e9d561b56
commit
3ea337d9e6
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user