WARNING: The online documentation has moved to https://docs.pjsip.org.
Visit the new documentation at https://docs.pjsip.org:
Home --> Documentations --> PJMEDIA Reference
#include <circbuf.h>
Circular buffer structure
The buffer
Referenced by pjmedia_circ_buf_create(), pjmedia_circ_buf_get_read_regions(), pjmedia_circ_buf_get_write_regions(), pjmedia_circ_buf_pack_buffer(), and pjmedia_circ_buf_reset().
Buffer capacity, in samples
Referenced by pjmedia_circ_buf_adv_write_ptr(), pjmedia_circ_buf_create(), pjmedia_circ_buf_get_read_regions(), pjmedia_circ_buf_get_write_regions(), pjmedia_circ_buf_pack_buffer(), and pjmedia_circ_buf_write().
Pointer to the first sample
Audio samples length, in samples
Referenced by pjmedia_circ_buf_adv_read_ptr(), pjmedia_circ_buf_adv_write_ptr(), pjmedia_circ_buf_copy(), pjmedia_circ_buf_create(), pjmedia_circ_buf_get_len(), pjmedia_circ_buf_get_read_regions(), pjmedia_circ_buf_get_write_regions(), pjmedia_circ_buf_read(), pjmedia_circ_buf_reset(), and pjmedia_circ_buf_write().