Method
ALSASeqUserClientschedule_events
Declaration [src]
gboolean
alsaseq_user_client_schedule_events (
ALSASeqUserClient* self,
const GList* events,
gsize* count,
GError** error
)
Description [src]
Deliver the events immediately, or schedule it into memory pool of the client.
The call of function executes write(2)
system call for ALSA sequencer character device. When
ALSASeqClientPool:output-free
is less than sum of alsaseq_event_calculate_pool_consumption()
and alsaseq_user_client_open()
is called without non-blocking flag, the user process can be
blocked untill enough number of cells becomes available.
Parameters
events |
A list of ALSASeqEvent* |
The list of |
|
The data is owned by the caller of the function. | |
count |
gsize* |
The number of events to be scheduled. |
|
The argument will be set by the function. | |
error |
GError ** |
The return location for a GError* , or NULL . |