Hierarchy

  • AudioPlayer

Constructors

Properties

audioContext: AudioContext
bufferSize: number = 3
chunks: AudioBufferSourceNode[] = []
device: Device
hasReceivedData: boolean = false
isPlaying: boolean = false
lastChunkOffset: number = 0
muted: boolean = false
startTime: number = 0

Methods

  • Parameters

    • buffer: AudioBuffer

    Returns undefined | AudioBufferSourceNode

Generated using TypeDoc