TAudioSample
Audio sample type
Fields
Field samples:Byte Ptr
Byte pointer to sample data
Field length:Int
Length, in samples, of the sample data
Field hertz:Int
Sample rate
Field format:Int
Sample format
Field capacity:Long
Allocated memory in bytes
Methods
Method Copy:TAudioSample()
Copy audio sample
Returns
A new audio sample object
Method Convert:TAudioSample( to_format:Int )
Convert audio sample
Returns
A new audio sample object in the specified format
Functions
Function Create:TAudioSample( length:Int,hertz:Int,format:Int )
Create an audio sample
Returns
A new audio sample object
Function CreateStatic:TAudioSample( samples:Byte Ptr,length:Int,hertz:Int,format:Int )
Create a static audio sample
Returns
A new audio sample object that references an existing block of memory