Author Topic: feature request: OGG looping  (Read 2019 times)

0 Members and 1 Guest are viewing this topic.


  • Newbie
  • *
  • Posts: 21
  • Accuracy Focused Individual
    • View Profile
feature request: OGG looping
« on: January 25, 2015, 11:57:39 AM »
I think it would be great if OGG files could loop after playing the intro of a song using the same method as RPG Maker in which metadata tags are used to mark PCM sample points for beginning and ending of loops. Here's an explanation on how this works when creating OGG files for RPG Maker.
ZDoom also has this feature which is documented here with their source code.

Here's a loopable OGG with proper metadata tags. The engine would need to know how to read the metadata and start the loop at the correct PCM sample point when it hits the loop end tag.

"LOOP_START" & "LOOP_END" would be the preferred tag names for this feature as seen in the attached image.
« Last Edit: January 27, 2015, 09:43:04 AM by GGuy »