AudioManager
class AudioManager
Constructors
constructor
public new AudioManagerlogger: Logger: AudioManager
Parameters
Accessors
onDataChanged
public get onDataChanged(): SubscribableValueEventnullAudioData
Methods
getTime
public getTime(): number
isInRange
public isInRangetime: number: boolean
Parameters
time: number
isReady
public isReady(): nullboolean''
setMuted
public setMutedisMuted: boolean: void
Parameters
isMuted: boolean
setOffset
public setOffsetvalue: number: void
Parameters
value: number
setPaused
Pause/resume the audio.
Parameters
isPaused: boolean
Whether the audio should be paused or resumed.
setSource
public setSourcesrc: string: void
Parameters
src: string
setTime
public setTimevalue: number: void
Parameters
value: number
setVolume
public setVolumevolume: number: void
Parameters
volume: number
toAbsoluteTime
public toAbsoluteTimetime: number: number
Parameters
time: number
toRelativeTime
public toRelativeTimetime: number: number
Parameters
time: number