[][src]Function mmal_sys::mmal_queue_wait

pub unsafe extern "C" fn mmal_queue_wait(
    queue: *mut MMAL_QUEUE_T
) -> *mut MMAL_BUFFER_HEADER_T

Wait for a MMAL_BUFFER_HEADER_T from a queue. This is the same as a get except that this will block until a buffer header is available.

@param queue Pointer to a queue

@return pointer to the next MMAL_BUFFER_HEADER_T.