feat(packer): encode self-contained mixed-codec audio banks
Pack and validate SoundBanks and MusicBanks with PCM16 and IMA ADPCM samples, instruments and native sequences. Keep the existing Studio asset creation catalog limited to supported UI families.
This commit is contained in:
+1
@@ -6,6 +6,7 @@ public enum AssetFamilyCatalog {
|
||||
GLYPH_BANK("glyph_bank"),
|
||||
SCENE_BANK("scene_bank"),
|
||||
SOUND_BANK("sound_bank"),
|
||||
MUSIC_BANK("music_bank"),
|
||||
UNKNOWN("unknown");
|
||||
|
||||
private final String manifestType;
|
||||
|
||||
+2
-4
@@ -6,7 +6,8 @@ import java.util.Locale;
|
||||
public enum OutputFormatCatalog {
|
||||
GLYPH_INDEXED_V1(AssetFamilyCatalog.GLYPH_BANK, "GLYPH/indexed_v1", "GLYPH/indexed_v1"),
|
||||
SCENE_TILED_V1(AssetFamilyCatalog.SCENE_BANK, "SCENE/tilemap_v1", "SCENE/tilemap_v1"),
|
||||
SOUND_V1(AssetFamilyCatalog.SOUND_BANK, "SOUND/v1", "SOUND/v1"),
|
||||
SOUND_V1(AssetFamilyCatalog.SOUND_BANK, "SOUND/bank_v1", "SOUND/bank_v1"),
|
||||
MUSIC_V1(AssetFamilyCatalog.MUSIC_BANK, "MUSIC/bank_v1", "MUSIC/bank_v1"),
|
||||
UNKNOWN(AssetFamilyCatalog.UNKNOWN, "unknown", "Unknown");
|
||||
|
||||
private final AssetFamilyCatalog assetFamily;
|
||||
@@ -57,9 +58,6 @@ public enum OutputFormatCatalog {
|
||||
if ("scene/tiled_v1".equals(normalized)) {
|
||||
return SCENE_TILED_V1;
|
||||
}
|
||||
if ("sound/bank_v1".equals(normalized)) {
|
||||
return SOUND_V1;
|
||||
}
|
||||
for (OutputFormatCatalog candidate : values()) {
|
||||
if (candidate == UNKNOWN) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user