pyglet player sound

Player = pyglet.media.Player()

# our event handling function
def on_eos():
    print("on player eos")

Player.push_handlers(on_eos)

posted @ 2019-01-08 20:26  CrossPython  阅读(318)  评论(0编辑  收藏  举报