Add an option to allow loopable audio files to play "forever"
Add an option to allow loopable audio files (such as .spc as well as certain MIDI files with loop points) to play "forever", rather than stop after a set amount of time.
How this can be implemented will likely depend on the plugin -- many audio formats support loop points, while others don't.
For example, in the gme
extension this appears to be hard-coded to 2.5 minutes and doesn't allow looping "forever" even if the input audio file has loop points (and the stopping point can be set, say, to a ludicrous number of hours, in libgme
using gme_set_fade
).
Related: #1756 (moved).