Previous Up Next

asSndReset
Re-initialization of the AsSnd

AsSnd asSndReset (
AsSnd _sound_
)
Parameters

_sound_
Applicable AsSnd object
Return value

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

  • In the case of high level use of the API or low level use for an AsSnd in the AS_SND_CIRCULAR mode, replaces the object’s current read position of the AsSnd to the beginning which is equivalent to 'asSndSetTime _obj_ 0'.
  • In the case of low level use of the API for an AsSndin the AS_SND_LINEAR mode, reinitializes the AsSnd object by emptying the data queue.