Method

ALSASeqUserClientcreate_port

Declaration [src]

gboolean
alsaseq_user_client_create_port (
  ALSASeqUserClient* self,
  ALSASeqPortInfo* const* port_info,
  GError** error
)

Description [src]

Create a port into the client.

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.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.