On 1/10/08, Mike Lawrence <[EMAIL PROTECTED]> wrote:
>
> I'm finding that I cannot queue audio objects with different numbers
> of channels to the same player. I don't see any mention in the API on
> Player() that indicates this would be the case, so is this a bug?

Yes thanks for the report, fixed in r1573.  (Sources with differing
formats can be played sequentially, but there may be a short gap in
playback while the DAC is reconfigured -- this is not a bug).

>
> Here's code that should reproduce what I've found. Try queueing a
> stereo source before a mono, or vice versa, and you find that only the
> first queued event plays.

Besides this, the audio in your sample code is still "staticy".  You
need to divide `start` by two for a correct starting phase each
packet.  This gives a big improvement but you can get rid of the few
remaining glitches by rounding up the byte count to align it to each
stereo sample.

Similarly, the seek method needs to be modified to align to stereo
samples (if you're going to use it).

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to