sampler
Last change
on this file since 8b07fa9 was
1b86a8b,
checked in by Paul Brossier <piem@piem.org>, 8 years ago
|
src/utils/ringbuffer.*: added ringbuffer draft
|
-
Property mode set to
100644
|
File size:
632 bytes
|
Rev | Line | |
---|
[1b86a8b] | 1 | |
---|
| 2 | |
---|
| 3 | #ifndef AUBIO_RINGBUFFER_H |
---|
| 4 | #define AUBIO_RINGBUFFER_H |
---|
| 5 | |
---|
| 6 | #ifdef __cplusplus |
---|
| 7 | extern "C" { |
---|
| 8 | #endif |
---|
| 9 | |
---|
| 10 | typedef struct _aubio_ringbuffer_t aubio_ringbuffer_t; |
---|
| 11 | |
---|
| 12 | aubio_ringbuffer_t * new_aubio_ringbuffer(uint_t maxwrite, uint_t maxrequest); |
---|
| 13 | |
---|
| 14 | uint_t aubio_ringbuffer_push(aubio_ringbuffer_t *o, fvec_t *output, uint_t write); |
---|
| 15 | |
---|
| 16 | uint_t aubio_ringbuffer_pull(aubio_ringbuffer_t *o, fvec_t *input, uint_t request); |
---|
| 17 | |
---|
| 18 | sint_t aubio_ringbuffer_get_available(aubio_ringbuffer_t *o); |
---|
| 19 | |
---|
| 20 | uint_t aubio_ringbuffer_reset(aubio_ringbuffer_t *o); |
---|
| 21 | |
---|
| 22 | void del_aubio_ringbuffer(aubio_ringbuffer_t *o); |
---|
| 23 | |
---|
| 24 | #ifdef __cplusplus |
---|
| 25 | } |
---|
| 26 | #endif |
---|
| 27 | |
---|
| 28 | #endif /* AUBIO_RINGBUFFER_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.