FindMinMaxUAF -
UAFTypeFromExtension -
UAF_close - Bits /sample
UAF_Copy_Marks -
UAF_create - If non-zero, force the type
UAF_CreateFromUAF - Position to read
UAF_Description -
UAF_ErrorMessage -
UAF_Identity -
UAF_open - ---------------------Function and subroutines------------------------
UAF_read - ADF handle
UAF_SaveSection -
UAF_write - Position to read
UAF_File
UAF_FILE_TYPE
Function FindMinMaxUAF(FileIn : String; Var Min, Max : Real; OverrideType : UAF_FILE_TYPE) : Boolean;
Function UAFTypeFromExtension (fname : String) : UAF_FILE_TYPE;
Function UAF_close
(
var uaf : uaf_file { ADF handle }
) : Boolean;
Bits /sample
Procedure UAF_Copy_Marks(Var uafin, uafout : uaf_file);
Function UAF_create
(
Var uaf : uaf_file; { ADF handle }
fname : String; { File name to open }
ftype : UAF_FILE_TYPE; { Type of audio file }
subformat : Word; { Subtype }
srate : Double; { Sampling rate }
nchannels : Word; { Channels 1 or 2 }
bits : Word { Bits /sample }
) : Boolean;
If non-zero, force the type
Function UAF_CreateFromUAF(Var uafin, uafout : uaf_file; fname : String) : Boolean;
Position to read
Function UAF_Description(UAFIn : UAF_File) : PChar;
Function UAF_ErrorMessage : PChar;
Function UAF_Identity(UAFIn : UAF_File) : PChar;
Function UAF_open
(
Var uaf : uaf_file; { ADF handle }
fname : String; { File name to open }
mode : char; { r,w for Read Write }
ForceType : UAF_FILE_TYPE { If non-zero, force the type }
) : Boolean;
---------------------Function and subroutines------------------------
Function UAF_read
(
Var uaf : uaf_file; { ADF handle }
buffer : Pointer; { Buffer }
nFrames : LongInt; { how many words }
lpos : LongInt { Position to read }
) : LongInt;
ADF handle
Function UAF_SaveSection(Var uafin, uafout : uaf_file; lstart, lend : LongInt) : Boolean;
Function UAF_write
(
Var uaf : uaf_file; { ADF handle }
buffer : Pointer; { Buffer }
nFrames : LongInt; { how many words }
lpos : LongInt { Position to read }
) : LongInt;
Position to read
UAF_File = record
FrameRate : Double;
Channels : Word;
Quantization : Word;
Frames : LongInt;
FrameSize : Word;
FileRecord : Pointer;
FileType : UAF_FILE_TYPE;
SubType : Integer;
FrameSizeIn : Word;
end;
Raw input stream
UAF_FILE_TYPE =
(UAF_TYPE_UNKNOWN, { Invalid or Unknow File }
UAF_TYPE_ADF, { Bliss Audio Data Files }
UAF_TYPE_WAV, { Microsoft RIFF wav Files }
UAF_TYPE_AU, { Sun AU file format }
UAF_TYPE_AIFF, { Apple Wave format }
UAF_TYPE_RAW);
------------------------type defintions-----------------------