Data Size in Wav File is 28 Bytes to large
The data size in the wav file contains parts (28 Bytes) of the size of the wav header information. Reason: The bytesWritten component of the Writer struct sums up the actual wav data, but in Routine NewWriter the size of the header information is added all well. In Routine Close this size is used as size of the data segment. Solution: Don't add the size of the header information in bytesWritten.
Quite some time passed since I last worked on this package and I'm sure this worked as intended back when I processed the generated wav files in other software.
Can you show me an example of what doesn't work with which software or where I misinterpreted which specification? I'd also gladly merge a test case for this problem if you send in a PR.