Logo Search packages:      
Sourcecode: jamin version File versions

void jack_ringbuffer_write_advance ( jack_ringbuffer_t *  rb,
size_t  cnt 

Advance the write pointer.

After data have been written the ringbuffer using the pointers returned by jack_ringbuffer_get_write_vector(), use this function to advance the buffer pointer, making the data available for future read operations.

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

Definition at line 224 of file ringbuffer.c.

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

Generated by  Doxygen 1.6.0   Back to index