PushAudioOutputStreamCallback class

An abstract base class that defines callback methods (write() and close()) for custom audio output streams).

Methods

close()

Closes the audio output stream.

write(ArrayBuffer)

Writes audio data into the data buffer.

Method Details

close()

Closes the audio output stream.

function close()

write(ArrayBuffer)

Writes audio data into the data buffer.

function write(dataBuffer: ArrayBuffer)

Parameters

dataBuffer

ArrayBuffer

The byte array that stores the audio data to write.