NUGU SDK Linux  1.7.6
nugu_ringbuffer.h File Reference
#include <nugu.h>
+ Include dependency graph for nugu_ringbuffer.h:

Go to the source code of this file.

Typedefs

typedef struct _nugu_ring_buffer NuguRingBuffer
 RingBuffer object.
 

Functions

NUGU_API void nugu_ring_buffer_clear_items (NuguRingBuffer *buf)
 Clear the ringbuffer. More...
 
NUGU_API void nugu_ring_buffer_free (NuguRingBuffer *buf)
 Destroy the ringbuffer object. More...
 
NUGU_API int nugu_ring_buffer_get_count (NuguRingBuffer *buf)
 Get count. More...
 
NUGU_API int nugu_ring_buffer_get_item_size (NuguRingBuffer *buf)
 Get itemsize. More...
 
NUGU_API int nugu_ring_buffer_get_maxcount (NuguRingBuffer *buf)
 Get maxcount. More...
 
NUGU_API NuguRingBuffernugu_ring_buffer_new (int item_size, int max_items)
 Create new ringbuffer object. More...
 
NUGU_API int nugu_ring_buffer_push_data (NuguRingBuffer *buf, const char *data, int size)
 Push data to ringbuffer. More...
 
NUGU_API int nugu_ring_buffer_read_item (NuguRingBuffer *buf, char *item, int *size)
 Read item from ringbuffer. More...
 
NUGU_API int nugu_ring_buffer_resize (NuguRingBuffer *buf, int item_size, int max_items)
 Resize the ringbuffer. More...