shithub: sox

Download patch

ref: 5e32cee2c962d96421fd047c63f9f7d01753d707
parent: d8d8acd6a116c1c75e21b065054d84a2e8a3d5e3
author: cbagwell <cbagwell>
date: Mon Feb 22 22:27:31 EST 1999

Removed unneeded code.

--- a/libst.h
+++ b/libst.h
@@ -10,10 +10,6 @@
 ** implied warranty.
 */
 
-#define MINLIN -32768
-#define MAXLIN 32767
-#define LINCLIP(x) do { if ( x < MINLIN ) x = MINLIN ; else if ( x > MAXLIN ) x = MAXLIN; } while ( 0 )
-
 /* These do not round data.  Caller must round appropriately. */
 
 #ifdef FAST_ULAW_CONVERSION
@@ -34,8 +30,4 @@
 #else
 unsigned char st_linear_to_Alaw( /* int sample */ );
 int st_Alaw_to_linear( /* unsigned char ulawbyte */ );
-#endif
-
-#ifdef	USG
-#define	setbuffer(x,y,z)
 #endif