Virtual Method

ALSAHwdepDeviceCommonopen

Declaration [src]

gboolean
open (
  ALSAHwdepDeviceCommon* self,
  const gchar* path,
  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

path const gchar*
 

The path to special file for ALSA HwDep character device.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
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.