API reference
API reference
Select your platform
No SDKs available
No versions available

IAudioPlayer Interface

An interface for performing playback and interactions for an audio clip

Properties

The currently playing clip stream
Whether the player is currently playing back audio
Whether or not elapsed samples can be determined from this audio player
The currently elapsed sample count

Member Functions

Called once to perform all player initialization
A string returned to describe any reasons playback is currently unavailable
Stops previous playback if applicable, sets clip stream and begins local playback
Parameters
clipStream
The clip stream to be played
offsetSamples
The starting offset of the clip
Performs a pause if the current clip is playing
Performs a resume if the current clip is paused
Stops playback & removes the current clip reference
Did you find this page helpful?
Thumbs up icon
Thumbs down icon