alsa-gobject: timer: user_instance: add API to choose the type of event to read