Man I just keep finding more and more bugs with Sound. This one is actually really bad because it has no workaround, unlike the others.

If you have an mp3 file that is less than 128kbps and you get its channel.position at a particular point in time and try to play from that position it jumps ahead in the file. The amount it jumps ahead is based on how far away it is from 128kbps (a 56kbps file will jump more than a 64kbps one).

But wait, it gets worse.

Even though it has jumped ahead in the track, the channel.position returns where it's supposed to be, not where it actually is!! That's right!!

channel.position says it's at 5000ms but it's actually somewhere around 8000ms, etc. and so on. I'm updating the position in a TextField in an ENTER_FRAME listener.

Wow. I mean, just, wow. 128kbps and up works just fine. Anything less and you've got a bug.

I've discovered so many bugs in the Sound class in the last 12 hours, it's kind of disheartening. I'm losing faith in the Flash player team and in Adobe for letting this kind of stuff get through QA.


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to