meta/ogg_vorbis: Support LOOPPOINT tags

Teach the Ogg Vorbis parser to interpret the value from LOOPPOINT tags
as a loop start position.

These tags are used in Sonic Robo Blast 2 (as of v2.2.6).
This commit is contained in:
Francis Gagné 2020-09-09 22:38:35 -04:00
parent 40e93cd4df
commit 414aa219c8

View File

@ -439,6 +439,7 @@ VGMSTREAM * init_vgmstream_ogg_vorbis_callbacks(STREAMFILE *streamFile, ov_callb
if (strstr(comment,"loop_start=") == comment || /* PSO4 */
strstr(comment,"LOOP_START=") == comment || /* PSO4 */
strstr(comment,"LOOPPOINT=") == comment || /* Sonic Robo Blast 2 */
strstr(comment,"COMMENT=LOOPPOINT=") == comment ||
strstr(comment,"LOOPSTART=") == comment ||
strstr(comment,"um3.stream.looppoint.start=") == comment ||