Function
ALSATimerget_device_info
Declaration [src]
gboolean
alsatimer_get_device_info (
ALSATimerDeviceId* device_id,
ALSATimerDeviceInfo** device_info,
GError** error
)
Description [src]
Get the information of timer device.
The call of function executes open(2)
, close(2)
, and ioctl(2)
system call with
SNDRV_TIMER_IOCTL_GINFO
command for ALSA timer character device.
Parameters
device_id |
ALSATimerDeviceId |
A |
|
The data is owned by the caller of the function. | |
device_info |
ALSATimerDeviceInfo |
The information of timer 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 . |