ws-audio2: TTA: codecs/audio/Tta (written from the TTA1 format description; no libtta / ffmpeg code) + audio/tta
TTA1 format 1, 8/16/24 bits, any channel count, header / seek table / frame CRC-32s, seeking, ID3v2 skipped, APEv2 tags; password-protected files -> UNSUPPORTED. 20 fixtures (ttaenc 3.4.1, the FATE inside.tta sample) bit-exact against ttaenc -d. Branch-free filter steps (LuaJIT: no register-coalescing aborts, 7 -> 40 MB/s). WavPack: the unary / gamma counts a byte at a time (LuaJIT traces). APE: the predictor rotations as single assignments. docs/guide/audio.md: the lossless section (+ tools/fixtures/docs_lossless.py inputs) and the Formats table.
This commit is contained in:
1 parent
ae8ff9d6bf
commit
085e385674
12 files changed
+857
-20
No files matched your search
@@ -254,6 +254,18 @@ local list: { Entry } = {
|
||||
return require("@formats/audio/opus")
|
||||
end,
|
||||
},
|
||||
{
|
||||
name = "tta",
|
||||
category = "audio",
|
||||
path = "audio/tta",
|
||||
extensions = { "tta" },
|
||||
mime = { "audio/x-tta", "audio/tta" },
|
||||
deps = { "core/Err", "core/Bytes", "Types", "codecs/audio/Pcm", "codecs/audio/Stream", "codecs/audio/ApeTag", "codecs/audio/Tta" },
|
||||
caps = { decode = true, encode = false, streaming = true, seek = true, lossless = true, depths = { 8, 16, 24 } },
|
||||
load = function()
|
||||
return require("@formats/audio/tta")
|
||||
end,
|
||||
},
|
||||
{
|
||||
name = "voc",
|
||||
category = "audio",
|
||||
|
||||
Reference in new issue
Block a user