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  阅读(331)  评论(0)    收藏  举报