tests/audio: comments: specs only

This commit is contained in:
4DBug committed 2026-11-01 01:51:26 -05:00
1 parent 75ddfb4068
commit 0eec255bfb
30 files changed
+66 -244

No files matched your search

+1 -4
View File
@@ -1,6 +1,4 @@
-- audio/voc tests: files written by ffmpeg (type 1 + 8 blocks for 8-bit, type 9 otherwise) and sox against ffmpeg's
-- decode; silence / text / continuation blocks and repeat markers built here; streaming reads and seeks; our
-- encoder's output for every sample format decoded by ffmpeg (fixture step) and by us; errors; fuzz.
-- audio/voc tests: files written by ffmpeg and sox against ffmpeg's decode; our encoder's output via ffmpeg.
-- Fixtures: tools/fixtures/voc.py.
local T = require("@tests/T")
local Voc = require("@rosetta/audio/voc")
@@ -45,7 +43,6 @@ for _, c in Cases do
end
t:note("%d reference files match ffmpeg", #Cases)
-- hand-built blocks: text, type 1 u8, silence, continuation, repeat markers, terminator
do
local hdr = "Creative Voice File\26\26\0\10\1\41\17"
local function blk(typ: number, payload: string): string