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

+2 -5
View File
@@ -1,7 +1,5 @@
-- audio/flac encoder tests: every fixture-step encode (levels 0-8, 1 / 2 / 6 channels, 8 / 12 / 16 / 20 / 24 bits,
-- odd lengths and block sizes, odd rates, seek tables, padding) passed `flac -t` and carries the MD5 of the quantized
-- input; sizes within 10% of libFLAC at the same level; each decodes bit-exactly through our own decoder; streaming
-- from a Decoder gives the same bytes; tags; option errors. Fixtures: tools/fixtures/flac_enc.py.
-- audio/flac encoder tests: each fixture-step encode passed `flac -t`, has the input's MD5, is within 10% of libFLAC.
-- Fixtures: tools/fixtures/flac_enc.py.
local T = require("@tests/T")
local Flac = require("@rosetta/audio/flac")
local Bytes = require("@rosetta/core/Bytes")
@@ -88,7 +86,6 @@ do
t:check(e0 and e0.frames == 0, "empty audio")
end
-- errors
do
local a = Types.Audio.new(44100, 2, 10)
local function code(v: any, o: any): string?