Skip to content

Latest commit

 

History

History
184 lines (92 loc) · 4.48 KB

PyIDirectSoundBuffer.md

File metadata and controls

184 lines (92 loc) · 4.48 KB

PyIDirectSoundBuffer

PyIDirectSoundBuffer Object

Description of the interface

Methods

GetCaps() Retrieves the capabilities of the DirectSoundBuffer object as a DSBCAPS object.

PyIDirectSoundBuffer.GetCurrentPosition

GetCurrentPosition() Description of GetCurrentPosition.

GetFormat() Description of GetFormat.

GetFrequency() Description of GetFrequency.

GetPan() Description of GetPan.

GetStatus() Retrieves the current status of the sound buffer.

GetVolume() Description of GetVolume.

Initialize() Description of Initialize.

Play() Description of Play.

Restore() Restores the memory allocation for a lost sound buffer for the specified DirectSoundBuffer object.

PyIDirectSoundBuffer.SetCurrentPosition

SetCurrentPosition() Description of SetCurrentPosition.

SetFormat(format) Sets the format of the primary sound buffer for the application. Whenever this application has the input focus, DirectSound will set the primary buffer to the specified format.

Parameters

  • format : WAVEFORMATEX

    A WAVEFORMATEX object that describes the new format for the primary sound buffer.

SetFrequency() Description of SetFrequency.

SetPan() Description of SetPan.

SetVolume() Description of SetVolume.

Stop() Description of Stop.

Update() Description of Update.