Virtual Method

ALSAHwdepDeviceCommonget_device_info

Declaration [src]

gboolean
get_device_info (
  ALSAHwdepDeviceCommon* self,
  ALSAHwdepDeviceInfo** device_info,
  GError** error
)

Description [src]

Get the information according to given numeric IDs for card and device. The call of function is expected to executes ioctl(2) system call with SNDRV_CTL_IOCTL_HWDEP_INFO command to the character device.

Parameters

device_info ALSAHwdepDeviceInfo
 

The information of device.

 The argument will be set by the function.
 The called function 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.