Method
ALSATimerUserInstancechoose_event_type
Declaration [src]
gboolean
alsatimer_user_instance_choose_event_type (
ALSATimerUserInstance* self,
ALSATimerEventType event_type,
GError** error
)
Description [src]
Choose the type of event data to receive.
The call of function is successful just before call of alsatimer_user_instance_attach()
.
ALSATimerEventType
.TICK_TIME is used as a default if the function is not called for
ALSATimerEventType
.REAL_TIME explicitly. When the former is configured, event for tick time is
available for ALSATimerUserInstance::handle-tick-time-event
. When the latter is configured,
event for real time is available for ALSATimerUserInstance::handle-real-time-event
.
The call of function executes ioctl(2)
system call with SNDRV_TIMER_IOCTL_TREAD
command
for ALSA timer character device.
Parameters
event_type |
ALSATimerEventType |
The type of event data, one of |
|
error |
GError ** |
The return location for a GError* , or NULL . |