build: regenerate the LuaJIT bundle

This commit is contained in:
4DBug committed 2026-11-03 03:20:41 -06:00
1 parent 3f0a0df9c7
commit 91371121d9
2 files changed
+580 -576

No files matched your search

+11 -7
View File
@@ -21497,7 +21497,11 @@ local Pcm = __include("codecs/audio/Pcm")
local Stream = __include("codecs/audio/Stream") local Stream = __include("codecs/audio/Stream")
local IsoBmff = __include("containers/IsoBmff") local IsoBmff = __include("containers/IsoBmff")
local Aac = __include("codecs/audio/Aac") local Aac = __include("codecs/audio/Aac")
local Alac = __include("codecs/audio/Alac")
-- codecs/audio/Alac, required for an ALAC track
local function alac()
return __include("codecs/audio/Alac")
end
-- ------------------------------------------------------------------------------------------------ contract -- ------------------------------------------------------------------------------------------------ contract
local M4a = { local M4a = {
@@ -21557,11 +21561,11 @@ if not t.config then
return nil, Err.new(Err.CORRUPT, "track " .. t.id .. " (" .. t.codec .. ") has no codec configuration") return nil, Err.new(Err.CORRUPT, "track " .. t.id .. " (" .. t.codec .. ") has no codec configuration")
end end
if t.codec == "alac" then if t.codec == "alac" then
local cfg, err = Alac.config(t.config ) local cfg, err = alac().config(t.config )
if not cfg then if not cfg then
return nil, err return nil, err
end end
local dec = Alac.decoder(cfg) local dec = alac().decoder(cfg)
local pcm = table.create(cfg.frameLength * cfg.channels, 0) local pcm = table.create(cfg.frameLength * cfg.channels, 0)
local scale = 1 / 2 ^ (cfg.bitDepth - 1) local scale = 1 / 2 ^ (cfg.bitDepth - 1)
local pd= { local pd= {
@@ -21728,12 +21732,12 @@ local o= opts or {}
return nil, Err.new(Err.ARG, "expected an Audio or a Decoder") return nil, Err.new(Err.ARG, "expected an Audio or a Decoder")
end end
local sr, ch = value.sampleRate, value.channels local sr, ch = value.sampleRate, value.channels
local enc, eerr = Alac.encoder({ sampleRate = sr, channels = ch, bitDepth = o.bitDepth or 16, frameLength = o.frameLength }) local enc, eerr = alac().encoder({ sampleRate = sr, channels = ch, bitDepth = o.bitDepth or 16, frameLength = o.frameLength })
if not enc then if not enc then
return nil, eerr return nil, eerr
end end
local e = enc local e= enc
local depth = e.config.bitDepth local depth = e.config.bitDepth
local fl = e.config.frameLength local fl = e.config.frameLength
local peak = 2 ^ (depth - 1) local peak = 2 ^ (depth - 1)
local packets= {} local packets= {}
@@ -21811,7 +21815,7 @@ local depth = e.config.bitDepth
sampleRate = sr, sampleRate = sr,
channels = ch, channels = ch,
bitsPerSample = depth, bitsPerSample = depth,
config = Alac.cookie(e.config), config = alac().cookie(e.config),
}, },
}, },
tags = tags, tags = tags,
File diff suppressed because it is too large. Load diff