Interface AudioSourceOptions

Options for processing the audio buffer. You need to set the options for processing the audio buffer when calling startProcessAudioBuffer.

Hierarchy

  • AudioSourceOptions

Index

Properties

Properties

Optional cycle

cycle: undefined | number

How many times the audio loops.

Optional loop

loop: undefined | false | true

Whether to loop the audio infinitely.

Optional startPlayTime

startPlayTime: undefined | number

The playback position (seconds).