Skip to main content

alphaTab.synth.CircularSampleBuffer

Description

Represents a fixed size circular sample buffer that can be written to and read from.

 class CircularSampleBuffer

Properties

count

Gets the number of samples written to the buffer.

Methods

clear()

Clears all samples written to this buffer.

read(Float32Array, number, number)

Reads the requested amount of samples from the buffer.

write(Float32Array, number, number)

Writes the given samples to this buffer.