summaryrefslogtreecommitdiff
path: root/src/tests/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/gpu')
-rw-r--r--src/tests/gpu/test_spectool.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/gpu/test_spectool.cc b/src/tests/gpu/test_spectool.cc
index 984322a..b90d236 100644
--- a/src/tests/gpu/test_spectool.cc
+++ b/src/tests/gpu/test_spectool.cc
@@ -3,6 +3,7 @@
// Generates a test WAV, analyzes it, and verifies the resulting .spec file.
#include "audio/audio.h"
+#include "audio/synth.h"
#include <assert.h>
#include <math.h>
#include <stdio.h>
@@ -54,7 +55,7 @@ int main() {
size_t read = fread(&header, sizeof(SpecHeader), 1, f);
assert(read == 1);
assert(strncmp(header.magic, "SPEC", 4) == 0);
- assert(header.version == 1);
+ assert(header.version == SPEC_VERSION_V2_OLA);
assert(header.dct_size == 512);
assert(header.num_frames > 0);