tinyalsa/tinyalsa — pull request #16 by PeterMalkin (2012-07-04 00:01:41+00:00)
Title: Correctly fill the value for riff chunk size in the WAV file produced by tinycap

Some audio tools do not recognize wave files that are recorded with tinycap. That is because RIFF format requires the chunk size to be set correctly. So far we have been leaving that field as 0. In this commit I am filling it with the right value, which is "the length of the file till the end from this point", or "the size of the file minus 8 bytes". More info here: http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/WAVE.html

Change-Id: I72948868c4da88556b022ca2c583a351c5019022