Function

ALSATimerget_devnode

Declaration [src]

gboolean
alsatimer_get_devnode (
  char** devnode,
  GError** error
)

Description [src]

Allocate string of devnode for ALSA Timer and return it if exists.

Nodes under sound subsystem in sysfs are used to gather the information.

Parameters

devnode char**
 

The string for devnode of ALSA Timer.

 The argument will be set by the function.
 The called function takes ownership of the data, and is responsible for freeing it.
 The value is a NUL terminated UTF-8 string.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.