Function

ALSASeqget_port_info

Declaration [src]

gboolean
alsaseq_get_port_info (
  guint8 client_id,
  guint8 port_id,
  ALSASeqPortInfo** port_info,
  GError** error
)

Description [src]

Get the information of port in client.

The call of function executes open(2), close(2), and ioctl(2) system calls with SNDRV_SEQ_IOCTL_GET_PORT_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 numerica value.

port_id guint8
 

The numeric identifier of port in the client. One of ALSASeqSpecificPortId is available as well as any numeric value.

port_info ALSASeqPortInfo
 

A ALSASeqPortInfo for the port.

 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.