Function

ALSACtlget_control_sysname

Declaration [src]

gboolean
alsactl_get_control_sysname (
  guint card_id,
  char** sysname,
  GError** error
)

Description [src]

Allocate sysname of control device for the sound card and return it if exists.

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

Parameters

card_id guint
 

The numeridcal ID of sound card.

sysname char**
 

The string for sysname of control device for the sound card.

 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.