summaryrefslogtreecommitdiff
path: root/include/audio
diff options
context:
space:
mode:
authorTharo <17233964+Thar0@users.noreply.github.com>2025-01-12 16:30:17 +0000
committerGitHub <noreply@github.com>2025-01-12 08:30:17 -0800
commite8e73fe771069f310208c2c00924ccebbcaa3c42 (patch)
treecdc3e7d6db87f6d7db50db61b8c78cea3ff34539 /include/audio
parent385c45ad483502a03c6f93b81e5b1ed5e08281d0 (diff)
Sync soundfont_compiler.c with recent OoT change, give automatic names to sequence 0 channels that implement sfx (#1784)
* Sync soundfont_compiler.c with recent OoT change, give automatic names to sequence 0 channels that implement sfx * Fix bss
Diffstat (limited to 'include/audio')
-rw-r--r--include/audio/soundfont.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/audio/soundfont.h b/include/audio/soundfont.h
index a8b32c060..6f8ee4957 100644
--- a/include/audio/soundfont.h
+++ b/include/audio/soundfont.h
@@ -28,11 +28,9 @@ typedef struct AdpcmBookHeader {
* The procedure used to design the codeBook is based on an adaptive clustering algorithm.
* The size of the codeBook is (8 * order * numPredictors) and is 8-byte aligned
*/
-typedef s16 AdpcmBookData[];
-
typedef struct AdpcmBook {
/* 0x0 */ AdpcmBookHeader header;
- /* 0x8 */ AdpcmBookData codeBook;
+ /* 0x8 */ s16 codeBook[1];
} AdpcmBook; // size >= 0x8
typedef enum SampleCodec {