Function

ALSAHwdepget_device_id_list

Declaration [src]

gboolean
alsahwdep_get_device_id_list (
  guint card_id,
  guint** entries,
  gsize* entry_count,
  GError** error
)

Description [src]

Get the list of numeric ID for available hwdep devices of sound card.

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

Parameters

card_id guint
 

The numeric ID of sound card.

entries An array of guint*
 

The list of numeric ID for hwdep device.

 The argument will be set by the function.
 The length of the array is specified in the entry_count argument.
 The called function takes ownership of the data, and is responsible for freeing it.
entry_count gsize*
 

The number of entries.

 The argument will be set by the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.