Function libspa_sys::spa_ringbuffer_set_avail
source · pub unsafe extern "C" fn spa_ringbuffer_set_avail(
rbuf: *mut spa_ringbuffer,
size: u32
)
Expand description
Sets the pointers so that the ringbuffer contains \a size bytes.
\param rbuf a spa_ringbuffer \param size the target size of \a rbuf