ref: b6a2c3b8eb4bd7e5773b6f5294baaddb66cd5fd7
parent: 9776cbb97052d2867d310cb1618076202a1bf79e
author: robs <robs>
date: Wed Feb 21 08:03:33 EST 2007
st -> sox leftovers
--- a/COPYING
+++ b/COPYING
@@ -2,10 +2,10 @@
licenses are in the files LICENSE.GPL and LICENSE.LGPL.
sox.c, and thus SoX-the user application, is distributed under the
-GPL, while the files that make up libst are licensed under the less
+GPL, while the files that make up libsox are licensed under the less
restrictive LGPL.
-Note that some of the external packages that can be linked in to libst
+Note that some of the external packages that can be linked in to libsox
are GPLed and/or may have licensing problems, so they can be disabled
-at configure time with the relevant--with-* options. If libst is built
+at configure time with the relevant--with-* options. If libsox is built
with such libraries, it must be distributed under the GPL.
--- a/README
+++ b/README
@@ -8,10 +8,10 @@
plotting tools.
SoX is distributed under the GNU GPL and GNU LGPL. To be precise: the
-sox program is distributed under the GPL, while the library libst, in
+sox program is distributed under the GPL, while the library libsox, in
which most of SoX's functionality resides, is dual-licensed. Note that
-some optional components of libst are GPL only: if you use these, you
-must use libst under the GPL.
+some optional components of libsox are GPL only: if you use these, you
+must use libsox under the GPL.
Send bug fixes, enhancements and feature requests to
[email protected], or post them to the relevant tracker
--- a/libsox.3
+++ b/libsox.3
@@ -17,7 +17,7 @@
'\" Decimal point set slightly raised
.ds d \v'-.15m'.\v'+.15m'
'\"
-.TH ST 3 "January 31, 2007"
+.TH SoX 3 "January 31, 2007"
.SH NAME
libsox\*mSoX\*mAudio file-format and effect library
.SH SYNOPSIS
--- a/sox.1
+++ b/sox.1
@@ -57,10 +57,10 @@
device and if invoked as `rec', the default sound device is used as an
input source.
.SP
-The heart of SoX is a library called libsox. Those interested in
-extending SoX or using it in other programs should refer to the Sound
-Tools manual page:
-.BR libst (3).
+The heart of SoX is a library called libSoX. Those interested in
+extending SoX or using it in other programs should refer to the libSoX
+manual page:
+.BR libsox (3).
.SP
The overall SoX processing chain can be summarised as follows:
.TS
@@ -2229,7 +2229,7 @@
([email protected]).
.SH SEE ALSO
.BR soxexam (7),
-.BR libst (3)
+.BR libsox (3)
.SP
The SoX web page at http://sox.sourceforge.net
.SS References
--- a/soxexam.7
+++ b/soxexam.7
@@ -401,7 +401,7 @@
download from the SoX web-site [1].
.SH SEE ALSO
.BR sox (1),
-.BR libst (3)
+.BR libsox (3)
.SS References
.TP
[1]
--- a/src/aiff.c
+++ b/src/aiff.c
@@ -1,5 +1,5 @@
/*
- * Sound Tools SGI/Amiga AIFF format.
+ * libSoX SGI/Amiga AIFF format.
* Used by SGI on 4D/35 and Indigo.
* This is a subformat of the EA-IFF-85 format.
* This is related to the IFF format used by the Amiga.
--- a/src/au.c
+++ b/src/au.c
@@ -10,7 +10,7 @@
*/
/*
- * Sound Tools Sun format with header (SunOS 4.1; see /usr/demo/SOUND).
+ * libSoX Sun format with header (SunOS 4.1; see /usr/demo/SOUND).
* NeXT uses this format also, but has more format codes defined.
* DEC uses a slight variation and swaps bytes.
* We only support the common formats.
--- a/src/band.h
+++ b/src/band.h
@@ -8,7 +8,7 @@
*/
/*
- * Sound Tools Bandpass effect file.
+ * libSoX Bandpass effect file.
*
* Algorithm: 2nd order recursive filter.
* Formula stolen from MUSIC56K, a toolkit of 56000 assembler stuff.
--- a/src/chorus.c
+++ b/src/chorus.c
@@ -59,7 +59,7 @@
*/
/*
- * Sound Tools chorus effect file.
+ * libSoX chorus effect file.
*/
#include <stdlib.h> /* Harmless, and prototypes atof() etc. --dgc */
--- a/src/compand.c
+++ b/src/compand.c
@@ -16,7 +16,7 @@
#include "compandt.h"
/*
- * Compressor/expander effect for Sound Tools.
+ * Compressor/expander effect for libSoX.
*
* Flow diagram for one channel:
*
--- a/src/dat.c
+++ b/src/dat.c
@@ -1,5 +1,5 @@
/*
- * Sound Tools text format file. Tom Littlejohn, March 93.
+ * libSoX text format file. Tom Littlejohn, March 93.
*
* Reads/writes sound files as text.
*
--- a/src/dither.c
+++ b/src/dither.c
@@ -1,5 +1,5 @@
/*
- * Sound Tools dithering noise effect file.
+ * libSoX dithering noise effect file.
*
* July 5, 1991
* Copyright 1991 Lance Norskog And Sundry Contributors
--- a/src/echo.c
+++ b/src/echo.c
@@ -52,7 +52,7 @@
*/
/*
- * Sound Tools reverb effect file.
+ * libSoX reverb effect file.
*/
#include <stdlib.h> /* Harmless, and prototypes atof() etc. --dgc */
--- a/src/echos.c
+++ b/src/echos.c
@@ -43,7 +43,7 @@
*/
/*
- * Sound Tools reverb effect file.
+ * libSoX reverb effect file.
*/
#include <stdlib.h> /* Harmless, and prototypes atof() etc. --dgc */
--- a/src/handlers.c
+++ b/src/handlers.c
@@ -10,7 +10,7 @@
#include "sox_i.h"
/*
- * Sound Tools file format and effect tables.
+ * libSoX file format and effect tables.
*/
/* File format handlers. */
--- a/src/hcom.c
+++ b/src/hcom.c
@@ -1,5 +1,5 @@
/*
- * Sound Tools Macintosh HCOM format.
+ * libSoX Macintosh HCOM format.
* These are really FSSD type files with Huffman compression,
* in MacBinary format.
* To do: make the MacBinary format optional (so that .data files
--- a/src/maud.c
+++ b/src/maud.c
@@ -1,5 +1,5 @@
/*
- * Sound Tools MAUD file format driver, by Lutz Vieweg 1993
+ * libSoX MAUD file format driver, by Lutz Vieweg 1993
*
* supports: mono and stereo, linear, a-law and u-law reading and writing
*
--- a/src/misc.c
+++ b/src/misc.c
@@ -8,7 +8,7 @@
*/
/*
- * Sound Tools miscellaneous stuff.
+ * libSoX miscellaneous stuff.
*/
#include "sox_i.h"
--- a/src/mixer.c
+++ b/src/mixer.c
@@ -11,7 +11,7 @@
*/
/*
- * Sound Tools stereo/quad -> mono mixdown effect file.
+ * libSoX stereo/quad -> mono mixdown effect file.
* and mono/stereo -> stereo/quad channel duplication.
*/
--- a/src/nulfile.c
+++ b/src/nulfile.c
@@ -8,7 +8,7 @@
*/
/*
- * Sound Tools null file format driver.
+ * libSoX null file format driver.
* Written by Carsten Borchardt
* The author is not responsible for the consequences
* of using this software
--- a/src/phaser.c
+++ b/src/phaser.c
@@ -51,7 +51,7 @@
*/
/*
- * Sound Tools phaser effect file.
+ * libSoX phaser effect file.
*/
#include <stdlib.h> /* Harmless, and prototypes atof() etc. --dgc */
--- a/src/polyphas.c
+++ b/src/polyphas.c
@@ -1,5 +1,5 @@
/*
- * Sound Tools rate change effect file.
+ * libSoX rate change effect file.
*
* July 14, 1998
* Copyright 1998 K. Bradley, Carnegie Mellon University
--- a/src/rate.c
+++ b/src/rate.c
@@ -1,5 +1,5 @@
/*
- * Sound Tools rate change effect.
+ * libSoX rate change effect.
*
* Now obsolete, and implemented by resample. Name retained for
* backwards compatibility.
--- a/src/raw.c
+++ b/src/raw.c
@@ -1,5 +1,5 @@
/*
- * Sound Tools raw file formats
+ * libSoX raw file formats
*
* July 5, 1991
* Copyright 1991 Lance Norskog And Sundry Contributors
--- a/src/resample.c
+++ b/src/resample.c
@@ -1,5 +1,5 @@
/*
- * Sound Tools rate change effect file.
+ * libSoX rate change effect file.
* Spiffy rate changer using Smith & Wesson Bandwidth-Limited Interpolation.
* The algorithm is described in "Bandlimited Interpolation -
* Introduction and Algorithm" by Julian O. Smith III.
--- a/src/reverb.c
+++ b/src/reverb.c
@@ -88,7 +88,7 @@
*/
/*
- * Sound Tools reverb effect file.
+ * libSoX reverb effect file.
*/
#include <stdlib.h> /* Harmless, and prototypes atof() etc. --dgc */
--- a/src/sf.c
+++ b/src/sf.c
@@ -8,9 +8,9 @@
*/
/*
- * Sound Tools IRCAM SoundFile format handler.
+ * libSoX IRCAM SoundFile format handler.
*
- * Derived from: Sound Tools skeleton handler file.
+ * Derived from: libSoX skeleton handler file.
*/
#include "sox_i.h"
--- a/src/skelform.c
+++ b/src/skelform.c
@@ -1,5 +1,5 @@
/*
- * Sound Tools skeleton file format driver.
+ * libSoX skeleton file format driver.
*
* Copyright 1999 Chris Bagwell And Sundry Contributors
*
--- a/src/smp.c
+++ b/src/smp.c
@@ -1,8 +1,8 @@
/*
- * Sound Tools SampleVision file format driver.
+ * libSoX SampleVision file format driver.
* Output is always in little-endian (80x86/VAX) order.
*
- * Derived from: Sound Tools skeleton handler file.
+ * Derived from: libSoX skeleton handler file.
*
* Add: Loop point verbose info. It's a start, anyway.
*/
--- a/src/sndfile.c
+++ b/src/sndfile.c
@@ -1,5 +1,5 @@
/*
- * Sound Tools libsndfile formats.
+ * libSoX libsndfile formats.
*
* Copyright 2007 Reuben Thomas <[email protected]>
* Copyright 1999-2005 Erik de Castro Lopo <[email protected]>
--- a/src/sox.h
+++ b/src/sox.h
@@ -1,5 +1,5 @@
/*
- * Sound Tools Library
+ * libSoX Library
*
* Copyright 1999-2007 Chris Bagwell and SoX Contributors.
*
@@ -16,7 +16,7 @@
#include <stdlib.h>
#include "ststdint.h"
-/* The following is the API version of libst. It is not meant
+/* The following is the API version of libsox. It is not meant
* to follow the version number of SoX but it has historically.
* Please do not count of these numbers being in sync.
* The following is at 13.0.0
@@ -377,7 +377,7 @@
struct sox_effect
{
char const *name; /* effect name */
- struct sox_globalinfo * globalinfo;/* global ST parameters */
+ struct sox_globalinfo * globalinfo;/* global parameters */
struct sox_signalinfo ininfo; /* input signal specifications */
struct sox_signalinfo outinfo; /* output signal specifications */
const sox_effect_t *h; /* effects driver */
@@ -439,7 +439,7 @@
const char *sox_version(void); /* return version number */
-/* ST specific error codes. The rest directly map from errno. */
+/* libSoX specific error codes. The rest directly map from errno. */
#define SOX_EHDR 2000 /* Invalid Audio Header */
#define SOX_EFMT 2001 /* Unsupported data format */
#define SOX_ERATE 2002 /* Unsupported rate for format */
--- a/src/sox_i.h
+++ b/src/sox_i.h
@@ -1,7 +1,7 @@
/*
- * Sound Tools Internal header
+ * libSoX Internal header
*
- * This file is meant for libst internal use only
+ * This file is meant for libsox internal use only
*
* Copyright 2001-2007 Chris Bagwell and SoX Contributors
*
@@ -184,7 +184,7 @@
#define M_PI_2 1.57079632679489661923 /* pi/2 */
#endif
-/* The following is used at times in libst when alloc()ing buffers
+/* The following is used at times in libsox when alloc()ing buffers
* to perform file I/O. It can be useful to pass in similar sized
* data to get max performance.
*/
--- a/src/soxio.c
+++ b/src/soxio.c
@@ -146,7 +146,7 @@
}
/* Go a head and assume 1 channel audio if nothing is detected.
- * This is because libst usually doesn't set this for mono file
+ * This is because libsox usually doesn't set this for mono file
* formats (for historical reasons).
*/
if (ft->signal.channels == 0)
--- a/src/speed.c
+++ b/src/speed.c
@@ -14,7 +14,7 @@
* Fifth Floor, 51 Franklin Street, Boston, MA 02111-1301, USA.
*/
-/* Sound Tools Effect: Adjust the audio speed (pitch and tempo together)
+/* libSoX Effect: Adjust the audio speed (pitch and tempo together)
*
* (c) 2006 [email protected]
*
--- a/src/stat.c
+++ b/src/stat.c
@@ -1,5 +1,5 @@
/*
- * Sound Tools statistics "effect" file.
+ * libSoX statistics "effect" file.
*
* Compute various statistics on file and print them.
*
--- a/src/trim.c
+++ b/src/trim.c
@@ -8,7 +8,7 @@
*/
/*
- * Sound Tools skeleton effect file.
+ * libSoX skeleton effect file.
*/
#include "sox_i.h"
--- a/src/tx16w.c
+++ b/src/tx16w.c
@@ -36,7 +36,7 @@
#define TXMAXLEN 0x3FF80
/*
- * Sound Tools skeleton file format driver.
+ * libSoX skeleton file format driver.
*/
#include <stdio.h>
--- a/src/util.c
+++ b/src/util.c
@@ -54,7 +54,7 @@
-/* This is a bit of a hack. It's useful to have the ST library
+/* This is a bit of a hack. It's useful to have libSoX
* report which driver (i.e. format or effect handler) is outputing
* the message. Using the filename for this purpose is only an
* approximation, but it saves a lot of work. ;)
--- a/src/voc.c
+++ b/src/voc.c
@@ -33,7 +33,7 @@
*/
/*
- * Sound Tools Sound Blaster VOC handler sources.
+ * libSoX Sound Blaster VOC handler sources.
*/
/*------------------------------------------------------------------------
@@ -260,7 +260,7 @@
/* setup word length of data */
ft->signal.size = v->size;
- /* ANN: Check VOC format and map to the proper ST format value */
+ /* ANN: Check VOC format and map to the proper libSoX format value */
switch (v->format) {
case VOC_FMT_LIN8U: /* 0 8 bit unsigned linear PCM */
ft->signal.encoding = SOX_ENCODING_UNSIGNED;
--- a/win32/stlib.dsp
+++ b/win32/stlib.dsp
@@ -561,7 +561,7 @@
# End Source File
# Begin Source File
-SOURCE=..\src\st_i.h
+SOURCE=..\src\sox_i.h
# End Source File
# Begin Source File