Method

ALSASeqUserClientcreate_port_at

Declaration [src]

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

Description [src]

Create a port into the client with the given numeric port ID.

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

Parameters

port_info ALSASeqPortInfo
 

A ALSASeqPortInfo.

 The argument will be modified by the function.
 The instance takes ownership of the data, and is responsible for freeing it.
port_id guint8
 

The numeric ID of port to create.

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

Return value

Returns: gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.