Whoops, need a pointer to an LPDIRECTSOUNDBUFFER and not the
LPDIRECTSOUNDBUFFER itself. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402197
This commit is contained in:
parent
95b6efb631
commit
0c642e7e31
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ static int
|
||||||
CreateSecondary(_THIS, HWND focus, WAVEFORMATEX *wavefmt)
|
CreateSecondary(_THIS, HWND focus, WAVEFORMATEX *wavefmt)
|
||||||
{
|
{
|
||||||
LPDIRECTSOUND sndObj = this->hidden->sound;
|
LPDIRECTSOUND sndObj = this->hidden->sound;
|
||||||
LPDIRECTSOUNDBUFFER *sndbuf = this->hidden->mixbuf;
|
LPDIRECTSOUNDBUFFER *sndbuf = &this->hidden->mixbuf;
|
||||||
Uint32 chunksize = this->spec.size;
|
Uint32 chunksize = this->spec.size;
|
||||||
const int numchunks = 8;
|
const int numchunks = 8;
|
||||||
HRESULT result = DS_OK;
|
HRESULT result = DS_OK;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue