AudioOutputStream class

Represents audio output stream used for custom audio output configurations.

Properties

format

Sets the format of the AudioOutputStream Note: the format is set by the synthesizer before writing. Do not set it before passing it to AudioConfig

Methods

close()

Explicitly frees any external resource attached to the object

createPullStream()

Creates a memory backed PullAudioOutputStream with the specified audio format.

Property Details

format

Sets the format of the AudioOutputStream Note: the format is set by the synthesizer before writing. Do not set it before passing it to AudioConfig

any format

Property Value

any

Method Details

close()

Explicitly frees any external resource attached to the object

function close()

createPullStream()

Creates a memory backed PullAudioOutputStream with the specified audio format.

static function createPullStream(): PullAudioOutputStream

Returns

The audio output stream being created.