On Fri, Oct 15, 2010 at 09:47:33AM +1100, Erik de Castro Lopo wrote: > I'll also look into doing what you suggest, writing the maximum > value for the data field length when the file is initially opened. That is the recommended way for CAF. A lenght of -1 means 'up to end of file', and CAD readers are supposed to understand this. So you should _not_ rewrite the header at all, until the file is closed. Ciao, -- FA There are three of them, and Alleline. _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/listinfo/linux-audio-user