ref: 3965e4ac88ef6df5057b018fab8d15e9512699fc
parent: 2930fcf465fb4bd6e3b0be37efde952492cc6d17
author: cbagwell <cbagwell>
date: Mon Nov 5 12:20:20 EST 2001
Backing out one change to get compiling on Linux.
--- a/Changelog
+++ b/Changelog
@@ -38,6 +38,10 @@
is scaled up to 32-bits, a little bit of noise starts to look like a
large amplitude of noise.
o Changed Floats into a type of encoding instead of a size of audio data.
+ o Put a flush at the end of OSS driver so that no old data would be
+ left in internal buffers after changing audio format parameters.
+ o Fixed problem were play script wasn't installed correctly if you
+ build from another directory (pointed out by Mike Castle).
sox-12.17.2
-----------
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -106,7 +106,7 @@
if [ -f $(MANDIR)/man1/rec.1 ]; then $(RM) $(MANDIR)/man1/rec.1; fi
$(srcdir)/mkinstalldirs $(MANDIR)/man1
$(srcdir)/mkinstalldirs $(BINDIR)
- $(INSTALL) -c -m 755 $(srcdir)/play $(BINDIR)
+ $(INSTALL) -c -m 755 play $(BINDIR)
$(INSTALL) -c -m 644 $(srcdir)/play.1 $(MANDIR)/man1
ln -s $(BINDIR)/play $(BINDIR)/rec
ln -s $(MANDIR)/man1/play.1 $(MANDIR)/man1/rec.1
--- a/src/st_i.h
+++ b/src/st_i.h
@@ -14,7 +14,9 @@
*/
#include "st.h"
-#include <sys/types.h>
+// FIXME: One works on solaris, the other on Linux
+//#include <sys/types.h>
+#include <stdint.h>
#ifdef __cplusplus
extern "C" {