build: regenerate the LuaJIT bundle
This commit is contained in:
1 parent
3f0a0df9c7
commit
91371121d9
2 files changed
+578
-574
No files matched your search
+9
-5
@@ -21497,7 +21497,11 @@ local Pcm = __include("codecs/audio/Pcm")
|
||||
local Stream = __include("codecs/audio/Stream")
|
||||
local IsoBmff = __include("containers/IsoBmff")
|
||||
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
|
||||
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")
|
||||
end
|
||||
if t.codec == "alac" then
|
||||
local cfg, err = Alac.config(t.config )
|
||||
local cfg, err = alac().config(t.config )
|
||||
if not cfg then
|
||||
return nil, err
|
||||
end
|
||||
local dec = Alac.decoder(cfg)
|
||||
local dec = alac().decoder(cfg)
|
||||
local pcm = table.create(cfg.frameLength * cfg.channels, 0)
|
||||
local scale = 1 / 2 ^ (cfg.bitDepth - 1)
|
||||
local pd= {
|
||||
@@ -21728,7 +21732,7 @@ local o= opts or {}
|
||||
return nil, Err.new(Err.ARG, "expected an Audio or a Decoder")
|
||||
end
|
||||
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
|
||||
return nil, eerr
|
||||
end
|
||||
@@ -21811,7 +21815,7 @@ local depth = e.config.bitDepth
|
||||
sampleRate = sr,
|
||||
channels = ch,
|
||||
bitsPerSample = depth,
|
||||
config = Alac.cookie(e.config),
|
||||
config = alac().cookie(e.config),
|
||||
},
|
||||
},
|
||||
tags = tags,
|
||||
|
||||
+569
-569
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user