Function

ALSASeqget_client_pool

Declaration [src]

gboolean
alsaseq_get_client_pool (
  guint8 client_id,
  ALSASeqClientPool** client_pool,
  GError** error
)

Description [src]

Get statistical information of memory pool for the given client.

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

Parameters

client_id guint8
 

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

client_pool ALSASeqClientPool
 

The information of memory pool 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.