Method

ALSASeqEventset_pointer_data

Declaration [src]

gboolean
alsaseq_event_set_pointer_data (
  ALSASeqEvent* self,
  const gpointer data,
  gsize length,
  GError** error
)

Description [src]

Copy the pointer and length to data of event. When using the type, the event should be deliverd directly without scheduling to queue. The aim of data pointed by it is arbitrary, thus programmer needs to decide protocol between transmitter and receiver in advance.

Parameters

data const gpointer
 

A pointer to user data.

 The argument can be NULL.
length gsize
 

The length of user data.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.