Previous Up Next

asSndSetCallBackTime
Definition of a callback activated when the reading of the AsSnd reaches the given positions.

AsSnd asSndSetCallBackTime (
AsSnd _sound_
fun [AsSnd u0] u1 _callback_
u0 _user_
[I r1] _positions_
)
Parameters

_sound_
Applicable AsSnd object
_callback_
Callback activated by the reading of the given positions.
_user_
User parameter.
_positions_
List of the callback activation positions in milliseconds.
Constant AS_SND_END_REFLEX can be used in the list of callback activation positions to activate the callback when ending the reading of the object AsSnd
Return value

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