Hi all,
My pyglet app can tell the duration of a source if the file is
a .wma, but it can't play it. When I try the same with a .m4a file
(AAC) it didn't tell the duration neither play it. How can I play WMA
music using pyglet? Here is the snippet code for this:
>>> source = pyglet.media.load("music.wma")
>>> self.audio_player.queue( source )
>>> print self.audio_player.source.duration
>>> self.audio_player.play()
The print tells fine about the duration of "music.wma", but the play
() didn't play anything. On the other hand, the play() function didn't
raise any error, and the app continues running without problem.
Thanks,
André.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---