Could you try the 1.2.3a1 version? Install with pip: $ pip install pyglet==1.2.3a1
Or download here: https://pypi.python.org/pypi?:action=display&name=pyglet&version=1.2.3a1 Rob Op woensdag 18 februari 2015 20:23:14 UTC+1 schreef Sebastian Meyer: > > This problem appears only on Linux. > > I went to a friend and tried it on a windows system. The following code > works fine if tried on Windows 7, using Python 2.7 using pyglet 1.2.0 and > Python 2.7. It does not work on Linux Mint 17 "Qiana" using pyglet 1.2.0 > and Python 2.7.7: > > import pyglet > > player = pyglet.media.Player() # init player > player.play() # let player play > > def play_sound(): > path = "test.wav" > source = pyglet.media.load(path, streaming=False) > player.queue(source) > > On Windows every call of play_sound() will play the test.wav sound. On > Linux the sound is only played on the first call. All other calls of > play_sound will work without an error but you can hear no sound. > > I will have a look inside pyglet, but don't think I will found the problem > in there. > -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscr...@googlegroups.com. To post to this group, send email to pyglet-users@googlegroups.com. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.