OmRecorder icon indicating copy to clipboard operation
OmRecorder copied to clipboard

Confused about wav header in WavHeader File

Open ZDZN opened this issue 5 years ago • 0 comments

According to WaveFormat, Subchunk2Size is the actual sound data size, i.e. the pcm file size and ChunkSize is 36 + SubChunk2Size. However, in your WavHeader File, Subchunk2Size is the sound data size minus 44. So, I am confused about why you substract 44?

Subchunk2Size is correspond to totalAudioLen, ChunkSize is correspond to totalDataLen in your WavHeader File.

ZDZN avatar Jun 10 '19 01:06 ZDZN