diff --git a/src/meta/ogg_vorbis.c b/src/meta/ogg_vorbis.c index b70c863d..9ad81942 100644 --- a/src/meta/ogg_vorbis.c +++ b/src/meta/ogg_vorbis.c @@ -618,6 +618,13 @@ VGMSTREAM * init_vgmstream_ogg_vorbis_callbacks(STREAMFILE *streamFile, ov_callb } } + /* Hatsune Miku Project DIVA games, though only 'Arcade Future Tone' has >4ch files + * ENCODER tag is common but ogg_vorbis_encode looks unique enough + * (arcade ends with "2010-11-26" while consoles have "2011-02-07" */ + if (strstr(user_comment, "ENCODER=ogg_vorbis_encode/") == user_comment) { + data->disable_reordering = 1; + } + ;VGM_LOG("OGG: user_comment=%s\n", user_comment); } }