Description | Hierarchy | Fields | Methods | Properties |
type IDirectSoundBuffer = interface(IUnknown)
IDirectSoundBuffer
function GetCaps(var pDSBufferCaps: TDSBcaps): HResult; stdcall; |
|
function GetCurrentPosition(pdwCurrentPlayCursor, pdwCurrentWriteCursor: PDWORD): HResult; stdcall; |
|
function GetFormat(pwfxFormat: PWaveFormatEx; dwSizeAllocated: DWORD; pdwSizeWritten: PDWORD): HResult; stdcall; |
|
function GetFrequency(out pdwFrequency: DWORD): HResult; stdcall; |
|
function GetPan(out plPan: Longint): HResult; stdcall; |
|
function GetStatus(out pdwStatus: DWORD): HResult; stdcall; |
|
function GetVolume(out plVolume: Longint): HResult; stdcall; |
|
function Initialize(pDirectSound: IDirectSound; const pcDSBufferDesc: TDSBufferDesc): HResult; stdcall; |
|
function Lock(dwOffset, dwBytes: DWORD; ppvAudioPtr1: PPointer; pdwAudioBytes1: PDWORD; ppvAudioPtr2: PPointer; pdwAudioBytes2: PDWORD; dwFlags: DWORD): HResult; stdcall; |
|
function Play(dwReserved1, dwPriority, dwFlags: DWORD): HResult; stdcall; |
|
function Restore: HResult; stdcall; |
|
function SetCurrentPosition(dwNewPosition: DWORD): HResult; stdcall; |
|
function SetFormat(pcfxFormat: PWaveFormatEx): HResult; stdcall; |
|
function SetFrequency(dwFrequency: DWORD): HResult; stdcall; |
|
function SetPan(lPan: Longint): HResult; stdcall; |
|
function SetVolume(lVolume: Longint): HResult; stdcall; |
|
function Stop: HResult; stdcall; |
|
function Unlock(pvAudioPtr1: Pointer; dwAudioBytes1: DWORD; pvAudioPtr2: Pointer; dwAudioBytes2: DWORD): HResult; stdcall; |
function GetCaps(var pDSBufferCaps: TDSBcaps): HResult; stdcall; |
|
IDirectSoundBuffer methods |
function GetCurrentPosition(pdwCurrentPlayCursor, pdwCurrentWriteCursor: PDWORD): HResult; stdcall; |
|
function GetFormat(pwfxFormat: PWaveFormatEx; dwSizeAllocated: DWORD; pdwSizeWritten: PDWORD): HResult; stdcall; |
|
function GetFrequency(out pdwFrequency: DWORD): HResult; stdcall; |
|
function GetPan(out plPan: Longint): HResult; stdcall; |
|
function GetStatus(out pdwStatus: DWORD): HResult; stdcall; |
|
function GetVolume(out plVolume: Longint): HResult; stdcall; |
|
function Initialize(pDirectSound: IDirectSound; const pcDSBufferDesc: TDSBufferDesc): HResult; stdcall; |
|
function Lock(dwOffset, dwBytes: DWORD; ppvAudioPtr1: PPointer; pdwAudioBytes1: PDWORD; ppvAudioPtr2: PPointer; pdwAudioBytes2: PDWORD; dwFlags: DWORD): HResult; stdcall; |
|
function Play(dwReserved1, dwPriority, dwFlags: DWORD): HResult; stdcall; |
|
function Restore: HResult; stdcall; |
|
function SetCurrentPosition(dwNewPosition: DWORD): HResult; stdcall; |
|
function SetFormat(pcfxFormat: PWaveFormatEx): HResult; stdcall; |
|
function SetFrequency(dwFrequency: DWORD): HResult; stdcall; |
|
function SetPan(lPan: Longint): HResult; stdcall; |
|
function SetVolume(lVolume: Longint): HResult; stdcall; |
|
function Stop: HResult; stdcall; |
|
function Unlock(pvAudioPtr1: Pointer; dwAudioBytes1: DWORD; pvAudioPtr2: Pointer; dwAudioBytes2: DWORD): HResult; stdcall; |
|
(c) 2012 Lake of Soft