Ogg Vorbis Stream Loop Bug Patch
Todd Cope

When playing back an Ogg Vorbis audio stream, the looping is handled incorrectly. The number of channels in the stream is not being taken into account when determining when it is time to loop and how much data to read from the Vorbis stream. This was causing the loop to occur too early when playing back a stream with more than one channel.

I have attached a patch which fixes the problem.

Edgar Reynaldo

Nice. Thanks Todd! It's nice to see people contribute fixes to Allegro. :)

Peter Wang

Thanks, applied.

Todd Cope

No problem.

Thread #612697. Printed from Allegro.cc