pub unsafe extern "C" fn spa_ringbuffer_read_data(
    rbuf: *mut spa_ringbuffer,
    buffer: *const c_void,
    size: u32,
    offset: u32,
    data: *mut c_void,
    len: u32
)
Expand description

Read \a len bytes from \a rbuf starting \a offset. \a offset must be taken modulo \a size and len should be smaller than \a size.

\param rbuf a struct \ref spa_ringbuffer \param buffer memory to read from \param size the size of \a buffer \param offset offset in \a buffer to read from \param data destination memory \param len number of bytes to read