diff --git a/event.go b/event.go index 2b146d0..7a3595a 100644 --- a/event.go +++ b/event.go @@ -336,3 +336,7 @@ func (s *UserEventSource) EmitEvent() bool { C.init_user_event(e) return bool(C.al_emit_user_event(s.source, e, nil)) } + +func GetTime() float64 { + return float64(C.al_get_time()) +}