Hacker News new | ask | show | jobs
by jkarneges 2797 days ago
You mean without specifying looping positions in the metadata? I would assume so, as long the length of an ogg doesn't require padding and you have a capable player.

One issue I noticed with the Lewton library is it wouldn't let me seek to granule 0 nor the first granule with audio samples. This means looping an entire ogg may not be possible using a single instance of the decoder, and if you set LOOPSTART=0 then playloop will crash. But, this could almost certainly be worked around by making a new decoder and reopening the ogg.