Skip to content

Commit 94ebe60

Browse files
committed
tests/audiogen: Fix total RIFF chunk size
The "RIFF" identifier and chunk size fields should not be included within the size value.
1 parent 5d71f97 commit 94ebe60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/audiogen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ static void put32(uint32_t v)
109109
fputc((v >> 24) & 0xff, outfile);
110110
}
111111

112-
#define HEADER_SIZE 46
112+
#define HEADER_SIZE 38
113113
#define FMT_SIZE 18
114114
#define SAMPLE_SIZE 2
115115
#define WFORMAT_PCM 0x0001

0 commit comments

Comments
 (0)