Merge pull request #418 from bnnm/ogg

Ogg
This commit is contained in:
bnnm 2019-06-09 18:53:13 +02:00 committed by GitHub
commit c0de147a70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -466,6 +466,7 @@ static const char* extension_list[] = {
"vig",
"vis",
"vms",
"vmu", //txth/reserved [Red Faction (PS2)]
"voi",
"vp6",
"vpk",

View File

@ -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);
}
}