tests/audio: comments: specs only
This commit is contained in:
1 parent
75ddfb4068
commit
0eec255bfb
30 files changed
+66
-244
No files matched your search
@@ -1,6 +1,5 @@
|
||||
-- audio/vag tests: VAGp (with and without loop flags), VAGi and KVAG files from our Python encoders, bit-exact with
|
||||
-- vgmstream / ffmpeg (tools/fixtures/vag.py) through decode and open with seeks; our encoder's files as vgmstream
|
||||
-- decodes them (loops reported where vgmstream reads them), their quality; errors; the api; the fuzz pass.
|
||||
-- audio/vag tests: VAGp, VAGi and KVAG files from our Python encoders, bit-exact with vgmstream / ffmpeg.
|
||||
-- Fixtures: tools/fixtures/vag.py.
|
||||
local T = require("@tests/T")
|
||||
local Vag = require("@rosetta/audio/vag")
|
||||
local Bytes = require("@rosetta/core/Bytes")
|
||||
@@ -27,7 +26,6 @@ for _, c in Cases do
|
||||
end
|
||||
t:note("%d files bit-exact with vgmstream / ffmpeg", #Cases)
|
||||
|
||||
-- ------------------------------------------------------------------------------------------------ encoder
|
||||
local function audioOf(S: any): any
|
||||
local a = Types.Audio.new(S.rate, S.channels, S.frames)
|
||||
buffer.writestring(a.samples, 0, S.data)
|
||||
@@ -57,7 +55,6 @@ do
|
||||
t:check(e3 and e3.code == Err.ARG, "bad interleave")
|
||||
end
|
||||
|
||||
-- ------------------------------------------------------------------------------------------------ errors
|
||||
do
|
||||
local base = Cases[1].data
|
||||
local hevag = buffer.fromstring(base)
|
||||
|
||||
Reference in new issue
Block a user