Allegro.cc - Online Community

Allegro.cc Forums » Allegro Development » Ogg Vorbis Stream Loop Bug Patch

This thread is locked; no one can reply to it. rss feed Print
Ogg Vorbis Stream Loop Bug Patch
Todd Cope
Member #998
November 2000
avatar

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
Member #8,592
May 2007
avatar

Peter Wang
Member #23
April 2000

Thanks, applied.

Todd Cope
Member #998
November 2000
avatar

No problem.

Go to: