Method

ALSASeqUserClientdelete_port

Declaration [src]

gboolean
alsaseq_user_client_delete_port (
  ALSASeqUserClient* self,
  guint8 port_id,
  GError** error
)

Description [src]

Delete a port from the client.

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

Parameters

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.