Function libspa_sys::spa_ringbuffer_write_data
source · pub unsafe extern "C" fn spa_ringbuffer_write_data(
rbuf: *mut spa_ringbuffer,
buffer: *mut c_void,
size: u32,
offset: u32,
data: *const c_void,
len: u32
)
Expand description
Write \a len bytes to \a buffer starting \a offset. \a offset must be taken modulo \a size and len should be smaller than \a size.
\param rbuf a spa_ringbuffer \param buffer memory to write to \param size the size of \a buffer \param offset offset in \a buffer to write to \param data source memory \param len number of bytes to write