【发布时间】:2018-05-26 04:42:15
【问题描述】:
我目前正在查看 WAV 文件的以下信息,并且遇到了包含在其标题中的 WAV 文件的“ChunkSize”。但是,我无法理解 ChunkSize 的值是如何计算的。根据
http://tiny.systems/software/soundProgrammer/WavFormatDocs.pdf
36 + SubChunk2Size, or more precisely:
4 + (8 + SubChunk1Size) + (8 + SubChunk2Size)
This is the size of the rest of the chunk
following this number. This is the size of the
entire file in bytes minus 8 bytes for the
two fields not included in this count:
ChunkID and ChunkSize.
我已经看了大约 40 分钟,但我不明白这些数字是从哪里来的。比如“4”是从哪里来的,而“8”又是从哪里来的?
【问题讨论】: