Object function reference

play_async

A reference entry for play_async

Object function · AudioStream

play_async() ⇒ boolean

Plays the currently opened clip without blocking the current script. The frame position is reset to the start immediately after starting playback. Returns true.

Example

YASS
$audio->play_async()