CircularSampleBuffer Class

Summary

Represents a fixed size circular sample buffer that can be written to and read from.
Namespace
AlphaTab.Audio.Synth.Ds
Base Types
  • object
graph TD Base0["object"]-->Type Type["CircularSampleBuffer"] class Type type-node

Syntax

public class CircularSampleBuffer

Constructors

Name Summary
CircularSampleBuffer(int) Initializes a new instance of the CircularSampleBuffer class.

Properties

Name Value Summary
Count int
Gets the number of samples written to the buffer.

Methods

Name Value Summary
Clear() void
Clears all samples written to this buffer.
Read(SampleArray, int, int) int
Write(SampleArray, int, int) int
Writes the given samples to this buffer.