Method

ALSAHwdepDeviceCommonopen

Declaration [src]

gboolean
alsahwdep_device_common_open (
  ALSAHwdepDeviceCommon* self,
  guint card_id,
  guint device_id,
  gint open_flag,
  GError** error
)

Description [src]

Open one of ALSA hwdep character devices for the sound card.

The call of function is expected to execute open(2) system call for ALSA hwdep character device.

Parameters

card_id guint
 

The numeric identifier of sound card.

device_id guint
 

The numerid identifier of device.

open_flag gint
 

The flag of open(2) system call.

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

Return value

Returns: gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.