Class IDirectSound (unit DirectX)

Inherits from

IUnknown

IDirectSound

Constructors



Functions

function Compact: HRESULT;


function CreateSoundBuffer(const lpDSBufferDesc: DSBUFFERDESC; out lplpDirectSoundBuffer: IDirectSoundBuffer; pUnkOuter: IUnknown): HRESULT;

** IDirectSound methods

function DuplicateSoundBuffer(lpDsbOriginal: IDirectSoundBuffer; out lpDsbDuplicate: IDirectSoundBuffer): HRESULT;


function GetCaps(var lpDSCaps: DSCAPS): HRESULT;


function GetSpeakerConfig(var lpdwSpeakerConfig: DWORD): HRESULT;


function Initialize(lpGuid: PGUID): HRESULT;


function SetCooperativeLevel(hwnd: HWND; dwLevel: DWORD): HRESULT;


function SetSpeakerConfig(dwSpeakerConfig: DWORD): HRESULT;


Properties

Events

Variables


Constructors


Functions


function Compact: HRESULT;


function CreateSoundBuffer(const lpDSBufferDesc: DSBUFFERDESC; out lplpDirectSoundBuffer: IDirectSoundBuffer; pUnkOuter: IUnknown): HRESULT;

** IDirectSound methods


function DuplicateSoundBuffer(lpDsbOriginal: IDirectSoundBuffer; out lpDsbDuplicate: IDirectSoundBuffer): HRESULT;


function GetCaps(var lpDSCaps: DSCAPS): HRESULT;


function GetSpeakerConfig(var lpdwSpeakerConfig: DWORD): HRESULT;


function Initialize(lpGuid: PGUID): HRESULT;


function SetCooperativeLevel(hwnd: HWND; dwLevel: DWORD): HRESULT;


function SetSpeakerConfig(dwSpeakerConfig: DWORD): HRESULT;


Properties


Events


Variables