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