![]() |
kBuffer
1.1
|
kBuffer is a universal library for a ring- / circular buffer.
buffer_t
bufferStatus_t
bufferInit()
bufferInitStatic()
bufferWrite()
bufferWriteOverwrite()
bufferRead()
bufferPeek()
bufferFill()
bufferIsFull()
bufferIsEmpty()
bufferWriteToIndex()
bufferReadFromIndex()
bufferAvailable()
bufferMean()
bufferMeanRMS()
Have a look Fundamental Usage for an explenation of the main kBuffer functions (with some examples)
If you want to take the mean of your buffer, have a look at Mean of buffer
An example code project is available under ../../test/x86. It isn't well documented, but you can compile it for your system.