Method

ALSASeqUserClientopen

Declaration [src]

gboolean
alsaseq_user_client_open (
  ALSASeqUserClient* self,
  gint open_flag,
  GError** error
)

Description [src]

Open ALSA sequencer character device.

The call of function executes open(2) system call, then executes ioctl(2) system call with SNDRV_SEQ_IOCTL_CLIENT_ID command for ALSA sequencer character device.

Parameters

open_flag gint
 

The flag of open(2) system call. O_RDWR is forced to fulfil internally.

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

Return value

Returns: gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.