Function

ALSATimerget_device_id_list

Declaration [src]

gboolean
alsatimer_get_device_id_list (
  GList** entries,
  GError** error
)

Description [src]

Get the list of existent timer device.

The call of function executes open(2), close(2), and ioctl(2) system call with SNDRV_TIMER_IOCTL_NEXT_DEVICE command for ALSA timer character device.

Parameters

entries A list of ALSATimerDeviceId*
 

The array with entries of ALSATimerDeviceId.

 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.