shithub: sox

Download patch

ref: f946c5325bca769ee6b2b0f69bd62843a551f9fb
parent: 17b69f7e68991dd8bbb5d3a5bec2107464ed61ed
author: cbagwell <cbagwell>
date: Tue Mar 16 14:06:00 EST 1999

Fixed typo in alsa.c

--- a/src/alsa.c
+++ b/src/alsa.c
@@ -225,7 +225,7 @@
     ioctl(fileno(ft->fp), SND_PCM_IOCTL_PLAYBACK_PARAMS, &p_params);
 
     /* Change to non-buffered I/O */
-    setvbuf(ft->fp, NULL, _IONBUF, sizeof(char) * ft->file.size);
+    setvbuf(ft->fp, NULL, _IONBF, sizeof(char) * ft->file.size);
 }
 
 #endif