Reference TAudioDecoder
Declared in Codebot.Hardware.pas on line 155
TAudioDecoder is used privately by TAudioBank to decode its source one mixing block at a time
TAudioDecoder = class
protected
function GetPosition: Single;
procedure SetPosition(Value: Single); virtual; abstract;
public
constructor Create(Source: TAudioSource); virtual;
{ Decode the next mixing block to Samples, which was filled with silence,
and return False if the end was already reached. FDecoded is set to the
number of samples decoded, which is fewer than a block at the end. }
function Decode(Samples: PByte): Boolean; virtual; abstract;
{ Position in seconds }
property Position: Single read GetPosition write SetPosition;
end;