Previous Up Next

asSndSetTime
Modifies the current read position in AsSnd to 'time', given in milliseconds.

AsSnd asSndSetTime (
AsSnd sound
I time
I flag
)
Parameters

sound
Applicable AsSnd object
time
New current position in milliseconds.
flag
Positioning flag.
Value Meaning
AS_SND_BEGIN Position given from the start.
AS_SND_CURRENT Position given from the current position.
AS_SND_END Position given from the end.
Return value

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

This fonction is only meaningful in the case of a low level use of the API for a AsSnd in the AS_SND_LINEAR mode.
See Also

asSndGetTime