diff options
Diffstat (limited to 'include/audio')
| -rw-r--r-- | include/audio/soundfont.h | 4 |
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 { |
