template.c: explain sample data length subtraction
This commit is contained in:
parent
110b065459
commit
4b8211dd1a
@ -185,7 +185,10 @@ main(void)
|
|||||||
5 * 4 /* 4 uint32_t values */ +
|
5 * 4 /* 4 uint32_t values */ +
|
||||||
4 * 2 /* 5 uint16_t values */ +
|
4 * 2 /* 5 uint16_t values */ +
|
||||||
PRODUCT /* sample data */
|
PRODUCT /* sample data */
|
||||||
- 8,
|
|
||||||
|
/* subtract Subchunk2 headers: */
|
||||||
|
- 4 /* a 4-character string */
|
||||||
|
- 4 /* a uint32_t value */,
|
||||||
fmt_data_length = 16 /* <--
|
fmt_data_length = 16 /* <--
|
||||||
* length of format data before this value
|
* length of format data before this value
|
||||||
* in the file format structure
|
* in the file format structure
|
||||||
|
Loading…
Reference in New Issue
Block a user