Function
ALSATimerget_device_status
Declaration [src]
gboolean
alsatimer_get_device_status (
ALSATimerDeviceId* device_id,
ALSATimerDeviceStatus* const* device_status,
GError** error
)
Description [src]
Get the status of timer device.
The call of function executes open(2)
, close(2)
, and ioctl(2)
system call with
SNDRV_TIMER_IOCTL_GSTATUS
command for ALSA timer character device.
Parameters
device_id |
ALSATimerDeviceId |
A |
|
The data is owned by the caller of the function. | |
device_status |
ALSATimerDeviceStatus |
The status of timer device. |
|
The argument will be modified 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 . |