DSP Master VCL
|
Copy data to circular buffer.
procedure WriteToCircularBuffer(Buffer: TVec; Src: TVec; var State: TCircularBufferState; AutoResize: boolean = false); overload;
Copies Src.Length samples from Src to Buffer. If there is not enough space available and the data that has not yet been read will be overwritten, the BufferOverflow flag will be set in the State variable. The routine advances WritePosition of the buffer to the position where the next data block is to be written to. If AutoResize is True the buffer will be resized before the buffer is underrun or overrun. The size of the buffer will increased by IncrementStep parameter passed to the InitCircularBuffer.
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|