From 127bbcad6fbcc466297a06d45a249aedd0221537 Mon Sep 17 00:00:00 2001 From: bnnm Date: Mon, 3 Aug 2020 23:18:47 +0200 Subject: [PATCH] Doc --- src/formats.c | 10 +++++----- src/meta/fsb5.c | 3 ++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/formats.c b/src/formats.c index 394f30ca..34ee4744 100644 --- a/src/formats.c +++ b/src/formats.c @@ -950,11 +950,11 @@ static const meta_info meta_info_list[] = { {meta_EA_1SNH, "Electronic Arts 1SNh header"}, {meta_EA_EACS, "Electronic Arts EACS header"}, {meta_SL3, "Atari Melbourne House SL3 header"}, - {meta_FSB1, "FMOD Sample Bank (FSB1) Header"}, - {meta_FSB2, "FMOD Sample Bank (FSB2) Header"}, - {meta_FSB3, "FMOD Sample Bank (FSB3) Header"}, - {meta_FSB4, "FMOD Sample Bank (FSB4) Header"}, - {meta_FSB5, "FMOD Sample Bank (FSB5) Header"}, + {meta_FSB1, "FMOD FSB1 header"}, + {meta_FSB2, "FMOD FSB2 header"}, + {meta_FSB3, "FMOD FSB3 header"}, + {meta_FSB4, "FMOD FSB4 header"}, + {meta_FSB5, "FMOD FSB5 header"}, {meta_RWX, "RWX Header"}, {meta_XWB, "Microsoft XWB header"}, {meta_PS2_XA30, "Reflections XA30 PS2 header"}, diff --git a/src/meta/fsb5.c b/src/meta/fsb5.c index fe8f5a16..046b1a4b 100644 --- a/src/meta/fsb5.c +++ b/src/meta/fsb5.c @@ -36,7 +36,7 @@ typedef struct { static layered_layout_data* build_layered_fsb5_celt(STREAMFILE* sf, fsb5_header* fsb5); static layered_layout_data* build_layered_fsb5_atrac9(STREAMFILE* sf, fsb5_header* fsb5, off_t configs_offset, size_t configs_size); -/* FSB5 - FMOD Studio multiplatform format */ +/* FSB5 - Firelight's FMOD Studio SoundBank format */ VGMSTREAM* init_vgmstream_fsb5(STREAMFILE* sf) { VGMSTREAM* vgmstream = NULL; fsb5_header fsb5 = {0}; @@ -211,6 +211,7 @@ VGMSTREAM* init_vgmstream_fsb5(STREAMFILE* sf) { /* found in some XMA2/Vorbis/FADPCM */ VGM_LOG("FSB5: stream %i flag %x with value %08x\n", i, extraflag_type, read_32bitLE(extraflag_offset+0x04,sf)); break; + case 0x0e: /* number of layered Vorbis channels [Invisible, Inc. (Switch)] */ default: VGM_LOG("FSB5: stream %i unknown flag 0x%x at %x + 0x04 (size 0x%x)\n", i, extraflag_type, (uint32_t)extraflag_offset, extraflag_size); break;