Method

ALSACtlCardget_elem_id_list

Declaration [src]

gboolean
alsactl_card_get_elem_id_list (
  ALSACtlCard* self,
  GList** entries,
  GError** error
)

Description [src]

Generate a list of ALSACtlElemId for ALSA control character device associated to the sound card.

The call of function executes several ioctl(2) system call with SNDRV_CTL_IOCTL_ELEM_LIST command for ALSA control character device.

Parameters

entries A list of const ALSACtlElemId*
 

The list of entries for ALSACtlElemId.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.