ws-audio2: audio/brstm (BRSTM / BCSTM / BFSTM read: DSP ADPCM, PCM16, PCM8, loops)

Bit-exact with vgmstream; forward seeks start from the ADPC / SEEK history. codecs/audio/Adpcm/Decoder.interleaved
also lays out block-interleaved PCM (s16be / s16le / s8); snapshots take precedence over a format's history table.
This commit is contained in:
4DBug committed 2026-10-31 14:22:46 -05:00
1 parent fd9175883d
commit 5dfaaf7524
6 files changed
+454 -18

No files matched your search

+12
View File
@@ -206,6 +206,18 @@ local list: { Entry } = {
return require("@formats/audio/au")
end,
},
{
name = "brstm",
category = "audio",
path = "audio/brstm",
extensions = { "brstm", "bcstm", "bfstm" },
mime = { "audio/x-brstm" },
deps = { "core/Err", "core/Bytes", "Types", "codecs/audio/Pcm", "codecs/audio/Adpcm/Decoder" },
caps = { decode = true, encode = false, streaming = true, lossy = true, loops = true, containers = { "RSTM", "CSTM", "FSTM" } },
load = function()
return require("@formats/audio/brstm")
end,
},
{
name = "caf",
category = "audio",