Object function reference

play

A reference entry for play

Object function · AudioStream

play() ⇒ boolean

Plays the currently opened clip and blocks until playback has finished. Once finished, the internal frame position is reset to the start of the clip. Returns true.

Example

YASS
$audio->play()