Class tmidistream

Unit

Declaration

type tmidistream = class(tbufstream)

Description

No description available, ancestor tbufstream description follows
No description available, ancestor tcustombufstream description follows
No description available, ancestor tmsefilestream description follows

Hierarchy

Overview

Methods

Protected function readtrackbyte(out adata: byte): boolean;
Protected function readtrackdatabyte(out adata: byte): boolean;
Protected function readtrackword(out adata: word): boolean;
Protected function readtracklongword(out adata: word): boolean;
Protected function readtrackdata(out adata; const acount: integer): boolean; overload;
Protected function readtrackvarlength(out adata: longword): boolean;
Protected function readbyte(out adata: byte): boolean;
Protected function readword(out adata: word): boolean;
Protected function readlongword(out adata: word): boolean;
Protected function readchunkheader(out adata: midichunkheaderty): boolean;
Protected function checkchunkheader(const aid: idstringty; const asize: integer): boolean;
Protected function readfileheader(out adata: midifileheaderty): boolean;
Protected function skip(const adist: longword): boolean;
Public constructor create(ahandle: integer); override;
Public function initfile: boolean;
Public function starttrack: boolean;
Public function skiptrack: boolean;
Public function readtrackdata(out adata: trackeventinfoty): boolean; overload;
Public function getmetadata(const alen: integer; out avalue: longword): boolean;

Properties

Public property timedivision: longword read ftimedivision;
Public property metadata: string read fmetadata;
Public property maxdatasize: longword read fmaxdatasize write fmaxdatasize default defaultmidimaxdatasize;

Description

Methods

Protected function readtrackbyte(out adata: byte): boolean;
 
Protected function readtrackdatabyte(out adata: byte): boolean;
 
Protected function readtrackword(out adata: word): boolean;
 
Protected function readtracklongword(out adata: word): boolean;
 
Protected function readtrackdata(out adata; const acount: integer): boolean; overload;
 
Protected function readtrackvarlength(out adata: longword): boolean;
 
Protected function readbyte(out adata: byte): boolean;
 
Protected function readword(out adata: word): boolean;
 
Protected function readlongword(out adata: word): boolean;
 
Protected function readchunkheader(out adata: midichunkheaderty): boolean;
 
Protected function checkchunkheader(const aid: idstringty; const asize: integer): boolean;
 
Protected function readfileheader(out adata: midifileheaderty): boolean;
 
Protected function skip(const adist: longword): boolean;
 
Public constructor create(ahandle: integer); override;
 
Public function initfile: boolean;
 
Public function starttrack: boolean;
 
Public function skiptrack: boolean;
 
Public function readtrackdata(out adata: trackeventinfoty): boolean; overload;
 
Public function getmetadata(const alen: integer; out avalue: longword): boolean;
 

Properties

Public property timedivision: longword read ftimedivision;
 
Public property metadata: string read fmetadata;
 
Public property maxdatasize: longword read fmaxdatasize write fmaxdatasize default defaultmidimaxdatasize;
 

Generated by PasDoc 0.16.0.