Method

ALSACtlCardget_info

Declaration [src]

gboolean
alsactl_card_get_info (
  ALSACtlCard* self,
  ALSACtlCardInfo** card_info,
  GError** error
)

Description [src]

Get the information of sound card.

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

Parameters

card_info ALSACtlCardInfo
 

A ALSACtlCardInfo for the sound card.

 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.