Logo Search packages:      
Sourcecode: jamin version File versions

void jack_ringbuffer_reset ( jack_ringbuffer_t *  rb  ) 

Reset the read and write pointers, making an empty buffer.

This is not thread safe.

rb a pointer to the ringbuffer structure.

Definition at line 86 of file ringbuffer.c.

  rb->read_ptr = 0;
  rb->write_ptr = 0;

Generated by  Doxygen 1.6.0   Back to index