Hans Petter Selasky <hsela...@c2i.net> wrote: > 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?
The code you're changing in src/oss.c no long applies to SoX 14.4.0, how does 14.4.0 work out-of-the-box for you? ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ SoX-devel mailing list SoX-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-devel