[ecasound] bug in RIFF WAVE files from

From: Kai Vehmanen <kvehmanen@email-addr-hidden>
Date: Wed Jan 25 2012 - 23:01:43 EET

Hi,

talking about good reasons to activate on the list (despite the initial
reaction of going deeper into lurking mode), I just got a patch for
another fairly embarrassing bug (committed to git and will be in 2.8.2):

--cut--
commit d07b91237b753b1c7401c12ebf8ea8eb1449963f
Author: Slack
Date: Wed Jan 25 22:12:48 2012 +0200

     audioio-wave: RIFF header chunk size too small

     When creating RIFF WAVE files, the chunk size of the very
     first RIFF block was calculated incorrectly, and was off by
     4 bytes.
--cut--

Now the size of the actual data block is correct, so AFAIK this should not
have much practical impact, but in theory some tool could interpret wav
files created by ecasound to have 4 bytes less than they actually do. The
bytes do get written, but the size field of the very first chunk ("RIFF"),
is off by 4.

Arto (cc'ed), sorry, the bug you reported 11 years ago, well, the fix was
not quite correct:
http://www.eca.cx/ecasound-list/2000/06/0193.html

PS The bad commit from 2000 is 38af5741701261d99f66fcfcca52d9500fdb208e.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Thu Jan 26 00:15:02 2012

This archive was generated by hypermail 2.1.8 : Thu Jan 26 2012 - 00:15:02 EET