Function

ALSASeqget_client_info

Declaration [src]

gboolean
alsaseq_get_client_info (
  guint8 client_id,
  ALSASeqClientInfo** client_info,
  GError** error
)

Description [src]

Get the information of client according to the numeric ID.

The call of function executes open(2)``, ``close(2)``, and ``ioctl(2)`` system calls withSNDRV_SEQ_IOCTL_GET_CLIENT_INFO` command for ALSA sequencer character device.

Parameters

client_id guint8
 

The numeric identifier of client to query. One of ALSASeqSpecificClientId is available as well as any numeric value.

client_info ALSASeqClientInfo
 

A ALSASeqClientInfo for the client.

 The argument will be set by the function.
 The called function takes ownership of the data, and is responsible for freeing it.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.