PyIDirectSound.CreateSoundBuffer

CreateSoundBuffer(lpDSCBufferDesc, unk)

The IDirectSound::CreateSoundBuffer method creates a DirectSoundBuffer object to hold a sequence of audio samples.

Parameters

lpDSCBufferDesc : PyDSCBUFFERDESC

a DSBUFFERDESC structure containing values for the sound buffer being created.

unk=None : PyIUknown

The IUnknown for COM aggregation.