DSP Master VCL
|
Initialize a circular buffer.
procedure InitCircularBuffer(BufferSize: integer; IncrementStep: double; var State: TCircularBufferState); overload;
Initializes circular buffer State variable. BufferSize is the new buffer size. Buffer holds the actual data and its size is adjusted to match BufferSize. IncrementStep defines the step by how much will the buffer increase when auto-resizing. NewBufferLength = OldBufferLength*IncrementStep; Auto-resizing is performed by WriteToCircularBuffer routine. The incrementStep parameter will be forced in to interval between 1 and 10.
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|