1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-19 01:04:20 +00:00

Fix for padding in wav file writer.

This commit is contained in:
jules 2014-07-06 11:57:37 +01:00
parent 71eafe439c
commit 48cdbf2622

View file

@ -1007,10 +1007,7 @@ private:
void writeHeader()
{
if ((bytesWritten & 1) != 0) // pad to an even length
{
++bytesWritten;
output->writeByte (0);
}
using namespace WavFileHelpers;