In the docs for media.load(): " ... streaming : bool If False, a StaticSource will be returned; otherwise (default) a StreamingSource is created.
Returns: Source" Shouldn't that second line say "Returns: StaticSource or StreamingSource"? Or is that implied since those are both subclasses of Source? I'm not super-versed in OO programming, but after seeing that media.load() returned "Source", I tried to cast it to StaticSource, as recommended here ( http://pyglet.org/doc/api/pyglet.media-module.html ), but I was already passing in streaming=True to media.load(), so it was actually _already_ returning a StaticSource. A more thorough reading of the streaming parameter above revealed my error. As a sidenote, if you pass in a StaticSource to StaticSource's constructor and then try to queue the resulting object, you get the message "StaticSource cannot be queued." ;-P ~ Nathan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
