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:
parent
71eafe439c
commit
48cdbf2622
1 changed files with 0 additions and 3 deletions
|
|
@ -1007,10 +1007,7 @@ private:
|
|||
void writeHeader()
|
||||
{
|
||||
if ((bytesWritten & 1) != 0) // pad to an even length
|
||||
{
|
||||
++bytesWritten;
|
||||
output->writeByte (0);
|
||||
}
|
||||
|
||||
using namespace WavFileHelpers;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue