Previous Up Next

asWaveRead
Recuperates the data from the current read position in the AsWave given as a parameter and returns them as a character string.

S asWaveRead (
AsWave wave
I size
I loop
)
Parameters

wave
Object of type AsWave
size
Size of data to be recuperated. If size equals nil, then 'position' and 'loop' parameters are ignored and the method returns the complete Wave data.
loop
Reading flag.
Value Meaning
AS_WAVE_LOOP If the end of the file is encountered during reading of the data, reading restarts at the beginning of the file.
Return value

The recuperated audio data, or nil in case of a failure.