This is the latest (main) BeagleBoard documentation.
If you are looking for stable releases, use the
drop-down menu on the bottom-left and select the desired version.
int rc_ringbuf_reset(rc_ringbuf_t *buf)
Sets all values in the buffer to 0.0f and sets the buffer index back to 0.
buf – Pointer to user’s buffer
Returns 0 on success or -1 on failure.