On 11/17/08, Danny K <[EMAIL PROTECTED]> wrote:
>
> Hi.
> When I try to load an unsigned 8 bit pcm with pyglet.media.load
> ("sound") I get an AVbinException saying it cannot open the sound. How
> can I fix this?
>
If the file is raw PCM data, I suggest adding a WAV header at the top
to describe the data. pyglet doesn't currently have a means to load
raw files, but you could easily modify the RIFF/WAV decoder
(pyglet/media/riff.py) to do so.
Alex.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---