Method

ALSASeqUserClientupdate_port

Declaration [src]

gboolean
alsaseq_user_client_update_port (
  ALSASeqUserClient* self,
  ALSASeqPortInfo* port_info,
  guint8 port_id,
  GError** error
)

Description [src]

Update port information.

The call of function executes ioctl(2) system call with SNDRV_SEQ_IOCTL_SET_PORT_INFO command for ALSA sequencer character device.

Parameters

port_info ALSASeqPortInfo
 

A ALSASeqPortInfo.

 The data is owned by the caller of the function.
port_id guint8
 

The numeric ID of port.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.