Logo Search packages:      
Sourcecode: jamin version File versions

void jack_ringbuffer_read_advance ( jack_ringbuffer_t *  rb,
size_t  cnt 

Advance the read pointer.

After data have been read from the ringbuffer using the pointers returned by jack_ringbuffer_get_read_vector(), use this function to advance the buffer pointers, making that space available for future write operations.

rb a pointer to the ringbuffer structure.
cnt the number of bytes read.

Definition at line 215 of file ringbuffer.c.

  rb->read_ptr += cnt;
  rb->read_ptr &= rb->size_mask;

Generated by  Doxygen 1.6.0   Back to index