ws-audio2: music/okt: typed chunk list (type baseline 92)
This commit is contained in:
1 parent
9a5f3796e2
commit
d418458e2a
1 file changed
+1
-1
@@ -230,7 +230,7 @@ function Okt.decode(r: Bytes.Reader, opts: DecodeOptions?): (any, Err.Err?)
|
||||
end
|
||||
-- sample data: SBOD chunks in order (signed 8-bit), for the samples with a length
|
||||
local k = 0
|
||||
local bodies = {}
|
||||
local bodies: { Chunks.Chunk } = {}
|
||||
for _, c in list do
|
||||
if c.id == "SBOD" and c.avail > 0 then
|
||||
table.insert(bodies, c)
|
||||
|
||||
Reference in new issue
Block a user