Previous Up Next

asWaveSeek
Positions the current read position in the AsSnd to value 'position'.

S asWaveSeek (
AsWave wave
I position
I flag
)
Parameters

wave
Object of type AsWave
position
Current read position.
flag
Positioning flag.
Value Meaning
AS_WAVE_BEGIN The position is given from the beginning of the file.
AS_WAVE_CURRENT The position is given from the current read position.
AS_WAVE_END The position is given from the end of the file.
Return value

The AsWave given as a parameter, or nil in case of a failure.