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.