audioBuffer property

ByteBuffer get audioBuffer

The audio buffer from the text-to-speech engine. It should have length exactly audioStreamOptions.bufferSize and encoded as mono, at audioStreamOptions.sampleRate, and as linear pcm, 32-bit signed float i.e. the Float32Array type in javascript.

Implementation

ByteBuffer get audioBuffer => _wrapped.audioBuffer.toDart;
set audioBuffer (ByteBuffer v)

Implementation

set audioBuffer(ByteBuffer v) {
  _wrapped.audioBuffer = v.toJS;
}