VLREGISTERBUFFER(3dm)VLREGISTERBUFFER(3dm)NAME
vlRegisterBuffer, vlDeregisterBuffer - set up a VL buffer for transfer
SYNOPSIS
#include <dmedia/vl.h>
int vlRegisterBuffer(VLServer svr, VLPath path, VLNode node, VLBuffer rb);
int vlDeregisterBuffer(VLServer svr, VLPath path, VLNode node, VLBuffer rb);
DESCRIPTION
vlRegisterBuffer associates the buffer with the given path and node. This
should be done before any transfer is begun on a node that requires a
ring buffer.
vlDeregisterBuffer removes a registered buffer from the specified node
and frees any resources associated with it. A buffer must not be de-
registered while a transfer using it is in progress, as this will
terminate the transfer and may have undesirable side effects.
RETURN VALUE
If successful, these functions return zero. A value of -1 indicates an
error, in which case vlErrno will be set to the correct error number.
SEE ALSOvlCreateBuffer(3dm), vlBeginTransfer(3dm)
Page 1