I found a download to the April 2006 SDK. Now I try to get normal output working (not the 3d one):

Code:
LPDIRECTSOUND dsDSound = (LPDIRECTSOUND)ev->pds;
LPDIRECTSOUNDBUFFER dsBuffer;
DSBUFFERDESC dsBufferDesc;
WAVEFORMATEX waveform;

dsBufferDesc.dwFlags = DSBCAPS_STICKYFOCUS;
dsBufferDesc.dwBufferBytes = voip_bufsize;
init_waveformat(&waveform);
dsBufferDesc.lpwfxFormat = &waveform;
dsBufferDesc.dwSize = sizeof(dsBufferDesc);

dsDSound->CreateSoundBuffer(&dsBufferDesc,&dsBuffer,NULL); //This methode always returns E_INVALIDARG



I did everything exactly as it is explained in msdn, but of course it's not working... The CreateSoundBuffer methode always returns E_INVALIDARG. What am I doing wrong? This thing drives me crazy.

PS: waveform is initialized with 16000Hz,16bit/sample,mono.


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version