| Class TSoundCaptureStream (unit DXSounds) |
| Constructors |
constructor Create(GUID: PGUID);| Functions |
destructor Destroy;
class function Drivers: TDirectXDrivers;
procedure Start;
procedure Stop;
procedure DoFilledBuffer;
function GetFilledSize: Integer;
function ReadWave(var Buffer; Count: Integer): Integer;
function GetReadSize: Integer;
procedure SetBufferLength(Value: Integer);
procedure SetOnFilledBuffer(Value: TNotifyEvent);| Properties |
property BufferLength : Integer
property CaptureFormat : Integer
property Capturing : Boolean
property SupportedFormats : TSoundCaptureFormats| Events |
event OnFilledBuffer : TNotifyEvent| Variables |
FBuffer : IDirectSoundCaptureBuffer;
FBufferLength : Integer;
FBufferPos : Integer;
FBufferSize : Integer;
FCapture : IDirectSoundCapture;
FCaptureFormat : Integer;
FCapturing : Boolean;
FNotifyEvent : THandle;
FNotifyThread : TThread;
FOnFilledBuffer : TNotifyEvent;
FSupportedFormats : TSoundCaptureFormats;| Constructors |
constructor Create(GUID: PGUID);| Functions |
destructor Destroy;If the buffer can be made, the format of present can be used.
class function Drivers: TDirectXDrivers;
procedure Start;
procedure Stop;
procedure DoFilledBuffer;
function GetFilledSize: Integer;
function ReadWave(var Buffer; Count: Integer): Integer;
function GetReadSize: Integer;
procedure SetBufferLength(Value: Integer);
procedure SetOnFilledBuffer(Value: TNotifyEvent);| Properties |
property BufferLength : Integer
property CaptureFormat : Integer
property Capturing : Boolean
property SupportedFormats : TSoundCaptureFormats| Events |
event OnFilledBuffer : TNotifyEvent| Variables |
FBuffer : IDirectSoundCaptureBuffer;
FBufferLength : Integer;
FBufferPos : Integer;
FBufferSize : Integer;
FCapture : IDirectSoundCapture;
FCaptureFormat : Integer;
FCapturing : Boolean;
FNotifyEvent : THandle;
FNotifyThread : TThread;
FOnFilledBuffer : TNotifyEvent;
FSupportedFormats : TSoundCaptureFormats;