summaryrefslogtreecommitdiff
path: root/tools/editor/dct.js
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-01-28 21:34:59 +0100
committerskal <pascal.massimino@gmail.com>2026-01-28 21:34:59 +0100
commitd82db7e301ff778b3c71a409263d696d9f561b74 (patch)
tree6d95a6ad24d4b7b84c1b8502be1347debc0f44d3 /tools/editor/dct.js
parentf6f85dd2b83452f6a288740d60d1f76d8df7c53d (diff)
fix the spec editor a bit
Diffstat (limited to 'tools/editor/dct.js')
-rw-r--r--tools/editor/dct.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/editor/dct.js b/tools/editor/dct.js
index f60f27e..e48ce2b 100644
--- a/tools/editor/dct.js
+++ b/tools/editor/dct.js
@@ -1,3 +1,5 @@
+const dctSize = 512; // Default DCT size, read from header
+
// --- Utility Functions for Audio Processing ---
// JavaScript equivalent of C++ idct_512
function javascript_idct_512(input) {