Commit 94ebe604 authored by Tobias Rapp's avatar Tobias Rapp

tests/audiogen: Fix total RIFF chunk size

The "RIFF" identifier and chunk size fields should not be included
within the size value.
parent 5d71f97e
...@@ -109,7 +109,7 @@ static void put32(uint32_t v) ...@@ -109,7 +109,7 @@ static void put32(uint32_t v)
fputc((v >> 24) & 0xff, outfile); fputc((v >> 24) & 0xff, outfile);
} }
#define HEADER_SIZE 46 #define HEADER_SIZE 38
#define FMT_SIZE 18 #define FMT_SIZE 18
#define SAMPLE_SIZE 2 #define SAMPLE_SIZE 2
#define WFORMAT_PCM 0x0001 #define WFORMAT_PCM 0x0001
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment