Function

ALSASeqget_port_id_list

Declaration [src]

gboolean
alsaseq_get_port_id_list (
  guint8 client_id,
  guint8** entries,
  gsize* entry_count,
  GError** error
)

Description [src]

Get the list of numeric identifiers for port added by the client.

The call of function executes open(2)``, ``close(2)``, and ``ioctl(2)`` system calls withSNDRV_SEQ_IOCTL_GET_CLIENT_INFOandSNDRV_SEQ_IOCTL_QUERY_NEXT_PORT` commands 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.

entries An array of guint8*
 

The array with elements for numeric identifier of port. One of ALSASeqSpecificPortId is available as well as any numeric value.

 The argument will be set by the function.
 The length of the array is specified in the entry_count argument.
 The called function takes ownership of the data, and is responsible for freeing it.
entry_count gsize*
 

The number of entries in the array.

 The argument will be set by the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
  No description available.