shithub: sox

Download patch

ref: 273089322f62e5b01d40228bf8095d9414f5d778
parent: 1fe09e346267ad32591320888caa63ac23391e22
author: cbagwell <cbagwell>
date: Wed Feb 24 21:47:32 EST 1999

added a FormatTag into error output

--- a/configure.in
+++ b/configure.in
@@ -227,6 +227,8 @@
 AC_SUBST(NEED_ALSA)
 AC_OUTPUT([Makefile])
 
+touch .depend
+
 echo
 echo "Configure finished.  Do 'make depend; make' to compile SOX."
 echo
--- a/sox.1
+++ b/sox.1
@@ -719,5 +719,5 @@
 The version of Sox that accompanies this manual page is support by 
 Chris Bagwell (cbagwell@sprynet.com).  Please refer any questions 
 regarding it to this address.  You may obtain the latest version at the 
-the web site http://home.sprynet.com/sprynet/cbagwell/projects.html
+the web site http://home.sprynet.com/~cbagwell/projects.html
 
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -14,7 +14,7 @@
 CC	= @CC@
 RANLIB	= @RANLIB@
 INSTALL	= @INSTALL@
-AR	= ar rcs
+AR	= ar r
 TAR	= tar
 RM	= rm -f
 
@@ -118,6 +118,4 @@
 	cd $(srcdir)/..; $(RM) $(pkgname).tar
 	cd $(srcdir)/.. ; $(TAR) $(pkgname).tar $(srcdir)
 
-ifeq (.depend,$(wildcard .depend))
 include .depend
-endif
--- a/src/wav.c
+++ b/src/wav.c
@@ -535,7 +535,7 @@
 	fail("Sorry, this WAV file is in IBM A-law format.");
     case IBM_FORMAT_ADPCM:
 	fail("Sorry, this WAV file is in IBM ADPCM format.");
-    default:	fail("WAV file has unknown format type");
+    default:	fail("WAV file has unknown format type of %x",wav->formatTag);
     }
 
     wChannels = rshort(ft);