Unit 'DAV_ChannelDataCoder' Package
[Overview][Types][Classes][Index] [#pl_asiovst]

TCustomChannelDataCoder

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: DAV_ChannelDataCoder.pas line 50

type TCustomChannelDataCoder = class(TInterfacedPersistent,IStreamPersist)

protected

  FBlockSize: Cardinal;

  

  FBlockBuffer: PDAVByteArray;

  

  FSampleFrames: Cardinal;

  

  FChannelCount: Cardinal;

  

  function CorrectBlocksize(); virtual;

  

  procedure BlockSizeChanged; virtual;

  

  procedure ReallocateChannelMemory; virtual; abstract;

  

  procedure ChannelCountChanged; virtual; abstract;

  

  procedure SampleFramesChanged; virtual; abstract;

  

  procedure AssignTo(); override;

  

public

  constructor Create; virtual;

  

  destructor Destroy; override;

  

  function SampleToByte(); virtual; abstract;

  

  procedure SetBlockSizeAndChannelCount(); virtual;

  

  procedure LoadFromStream(); virtual; abstract;

  

  procedure SaveToStream(); virtual; abstract;

  

  procedure LoadFromPointer(); virtual; abstract;

  

  procedure SaveToPointer(); virtual; abstract;

  

  property ChannelCount: Cardinal; [rw]

  

  property BlockSize: Cardinal; [rw]

  

  property SampleFrames: Cardinal; [rw]

  

end;

Inheritance

TCustomChannelDataCoder

  

|

TObject,IStreamPersist



CT Web help

CodeTyphon Studio