Function
ALSATimerget_real_time_clock_id
Declaration [src]
gboolean
alsatimer_get_real_time_clock_id (
int* clock_id,
GError** error
)
Description [src]
Get clock_id
for real time. The clock_id
governs real time retrieved by both
alsatimer_real_time_event_get_time()
and alsatimer_instance_status_get_time()
.
The call of function is just to refer to parameter of snd-timer
kernel module. 0
means
CLOCK_REALTIME
is used. 1
means CLOCK_MONOTONIC
is used.
The call of function executes open(2)
, read(2)
, close(2)
system calls for the sysfs node
corresponding to the parameter.