| Class TAudioStream (unit DXSounds) |
TObject
TAudioStream
| Constructors |
constructor Create(ADSound: TDirectSound);| Functions |
destructor Destroy;
procedure Play;
procedure RecreateBuf;
procedure Stop;
procedure Update;
function GetFormat: PWaveFormatEX;
function GetFormatSize: Integer;
function GetFrequency: Integer;
function GetPan: Integer;
function GetSize: Integer;
function GetVolume: Integer;
function GetWriteSize: Integer;
procedure SetAutoUpdate(Value: Boolean);
procedure SetBufferLength(Value: Integer);
procedure SetFrequency(Value: Integer);
procedure SetLooped(Value: Boolean);
procedure SetPan(Value: Integer);
procedure SetPosition(Value: Integer);
procedure SetVolume(Value: Integer);
procedure SetWaveStream(Value: TCustomWaveStream);
procedure WriteWave(WriteSize: Integer);| Properties |
property AutoUpdate : Boolean
property BufferLength : Integer
property Format : PWaveFormatEx
property FormatSize : Integer
property Frequency : Integer
property Looped : Boolean
property Pan : Integer
property Playing : Boolean
property Position : Integer
property Size : Integer
property Volume : Integer
property WaveStream : TCustomWaveStream| Events |
| Variables |
FAutoUpdate : Boolean;
FBuffer : TDirectSoundBuffer;
FBufferLength : Integer;
FBufferPos : Integer;
FBufferSize : Integer;
FDSound : TDirectSound;
FInThread : Boolean;
FLooped : Boolean;
FNotifyEvent : THandle;
FNotifyThread : TThread;
FPlaying : Boolean;
FPosition : Integer;
FWaveStream : TCustomWaveStream;
FWritePosition : Integer;| Constructors |
constructor Create(ADSound: TDirectSound);| Functions |
destructor Destroy;
procedure Play;
procedure RecreateBuf;
procedure Stop;
procedure Update;
function GetFormat: PWaveFormatEX;
function GetFormatSize: Integer;
function GetFrequency: Integer;
function GetPan: Integer;
function GetSize: Integer;
function GetVolume: Integer;
function GetWriteSize: Integer;
procedure SetAutoUpdate(Value: Boolean);
procedure SetBufferLength(Value: Integer);
procedure SetFrequency(Value: Integer);
procedure SetLooped(Value: Boolean);
procedure SetPan(Value: Integer);
procedure SetPosition(Value: Integer);
procedure SetVolume(Value: Integer);
procedure SetWaveStream(Value: TCustomWaveStream);
procedure WriteWave(WriteSize: Integer);| Properties |
property AutoUpdate : Boolean
property BufferLength : Integer
property Format : PWaveFormatEx
property FormatSize : Integer
property Frequency : Integer
property Looped : Boolean
property Pan : Integer
property Playing : Boolean
property Position : Integer
property Size : Integer
property Volume : Integer
property WaveStream : TCustomWaveStream| Events |
| Variables |
FAutoUpdate : Boolean;
FBuffer : TDirectSoundBuffer;
FBufferLength : Integer;
FBufferPos : Integer;
FBufferSize : Integer;
FDSound : TDirectSound;
FInThread : Boolean;
FLooped : Boolean;
FNotifyEvent : THandle;
FNotifyThread : TThread;
FPlaying : Boolean;
FPosition : Integer;
FWaveStream : TCustomWaveStream;
FWritePosition : Integer;