OGG/FLAC custom loop tags
Support for custom loop tags enabling the playback of music files designed to be looped in a specific way.
#3 Updated by skyjake over 2 years ago
Did some research. It appears the loop tags should be easy to parse from the .ogg file (UTF-8 strings in the comments), however the playback aspect is a bit trickier.
- FMOD has support for setting loop start/end by sample.
It is unclear if the sound plays from the beginning and then continues looping within the range — should try it out.
- SDL_mixer does not support looping. There is a custom fork called SDL Mixer X that adds support for looping. It would be preferable to use the original SDL_mixer and decode the Ogg audio manually using libvorbis, for instance.