def queue_get_real_time(self): status = S.new_queue_status(self.client, self.queue) S.snd_seq_get_queue_status(self.client, self.queue, status) res = S.snd_seq_queue_status_get_real_time(status) S.free_queue_status(status) return (res.tv_sec, res.tv_nsec)
def queue_get_tick_time(self): status = S.new_queue_status(self.client, self.queue) S.snd_seq_get_queue_status(self.client, self.queue, status) res = S.snd_seq_queue_status_get_tick_time(status) S.free_queue_status(status) return res