def run(self):
"""
main loop for AVS client
1. checks for any expired scheduled tasks that need to run
2. handles outstanding directives
3. runs one iteration of audio player state-machine loop
:return:
"""
self.scheduler.run(blocking=False)
self._handle_directives()
self.player.run()
评论列表
文章目录