You are here: Symbol Reference > SignalUtils Namespace > Functions > SignalUtils.PeekCircularBuffer Function
DSP Master VCL
ContentsIndex
PreviousUpNext
SignalUtils.PeekCircularBuffer Function

Get the number of available samples within the circular buffer.

Pascal
function PeekCircularBuffer(const State: TCircularBufferState): integer; overload;

Returns number of available samples, that can be read by ReadFromCircularBuffer. This function allows you to guard against buffer underflow. (reading data that is not there yet)

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!