You are here: Symbol Reference > CoreAudioSignal Namespace > Classes > TSignalCoreAudio Class > public > TSignalCoreAudio.BufferStats Method
DSP Master VCL
ContentsIndex
PreviousUpNext
TSignalCoreAudio.BufferStats Method

Returns information about total number of samples buffered per one channel and the size of the buffer.

Pascal
procedure BufferStats(var BufferSize: integer; var BufferedSamples: integer); virtual;

BufferSize contains the actual size of the skip-protection buffer in samples per channel. The BuffereSamples contains the number of samples currently in the buffer, which have not yet been used. For recording, when BufferSamples becomes equal or greater to InputDataLength, OnInputBufferReady is triggered. For playback, when BufferSamples becomes less than samples corresponding to ExtendedBufferTime, the component will trigger request for more data by calling Inputs.Pull.

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