示例#1
0
 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)
示例#2
0
 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)
示例#3
0
 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
示例#4
0
 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