Method
ALSASeqUserClientcreate_source
Declaration [src]
gboolean
alsaseq_user_client_create_source (
ALSASeqUserClient* self,
GSource** gsrc,
GError** error
)
Description [src]
Allocate GSource structure to handle events from ALSA seq character device. In each
iteration of GMainContext, the read(2) system call is exected to dispatch
sequencer event for ALSASeqUserClient::handle-event signal, according to the result of
poll(2) system call.
Parameters
gsrc |
GSource |
A |
|
| The argument will be set by the function. | |
| The instance takes ownership of the data, and is responsible for freeing it. | |
error |
GError ** |
The return location for a GError*, or NULL. |