Previous Up Next

asSndPlay
Starts reading the AsSnd at the current read location.

AsSnd asSndPlay (
AsSnd _sound_
I _flag_
)
Parameters

_sound_
Applicable AsSnd object
_flag_
Reading flag.
Value Meaning
AS_SND_LOOP Sound reading is performed in a loop until it is explicitly stopped.
Return value

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

  • It is possible to change the flag parameter while reading is occurring by using the asSndPlay method with a new flag value.
  • In the case of low level use in AS_SND_LINEAR mode, flag is not used.
  • See Also

    asSndPlay