function PeekCircularBuffer(const State: TCircularBufferState): Integer;
Get the number of available samples within the circular buffer.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | State | TCircularBufferState |
Returns: Int32
Remarks:
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)