3 ms·
I mean, they should have been removing zero byte-pairs, not zero bytes; removing zero bytes risks shifting whether you're off by one or not!
by Sniffnoy 5y ago
I mean, they should have been removing zero byte-pairs, not zero bytes; removing zero bytes risks shifting whether you're off by one or not!
- its_nikita 5y agoThis would be the case for 16 bit samples (which all of my files were, and most WAV files are nowadays), but for 8 bit samples, it would be correct to remove single zero bytes. Basically I just have to follow the spec more closely
- Sniffnoy 5y agoYes, I was relying on your statement that they were all 16 bits; adjust appropriately otherwise.