Hi,
Line buffering should be off, but this statement leads to SOX reading 1 and
one byte from the recording DSP device under FreeBSD:
/* Change to non-buffered I/O */
setvbuf(ft->fp, NULL, _IONBF, sizeof(char) * file->size);
return(SOX_SUCCESS);
I think this flag should be used instead:
_IOFBF fully buffered
I've tested this change and it works like expected.
Any comments?
--HPS
------------------------------------------------------------------------------
WINDOWS 8 is here.
Millions of people. Your app in 30 days.
Visit The Windows 8 Center at Sourceforge for all your go to resources.
http://windows8center.sourceforge.net/
join-generation-app-and-make-money-coding-fast/
_______________________________________________
SoX-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sox-devel