clearing queue in pyglet.media.player.Player

2018-03-25 Thread Luke Miller
Hi, is there a simple way to clear the queue in a media.player.Player object? Or should I just pause the existing player, deference it and create a new Player? -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and

Looping music and sounds in pyglet 1.3.1

2018-03-25 Thread Luke Miller
Hi, is there a canonical way to loop a sound file? The docs mention SourceGroup but I'm not sure how to get the current one from the player. -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving

clearing queue in pyglet.media.player.Player

2018-03-25 Thread Benjamin Moran
There isn't currently any way to clear a Player's queue. Deleting the current Player and creating a new one is fine, but a 'clear_queue' or similar method might be useful. -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from

Re: Looping music and sounds in pyglet 1.3.1

2018-03-25 Thread Benjamin Moran
This was not terribly well documented, and I have not used this much myself in the past, but the basic idea is: 1. Create a SourceGroup, and queue a few Sources on it. 2. Queue the SourceGroup onto a Player, just as you would a single Source. You can set the `loop` boolean on the SourceGroup