Skip to main content
Provides access to an AudioSound object

Fields

volume

volume of the sound.

Methods

stop

stop the audio.

seek

seek the audio to a specific time in seconds.

seekFrame

seek the audio to a specific time in PCM frames.

completed

Whether the sound has completed playing.

time

Current sound time in seconds.

timeFrame

Current sound time in PCM frames.

pause

pauses the audio.

resume

resumes the audio from its current position.

play

plays the audio.