Update of /cvsroot/audacity/lib-src/libnyquist/nyqsrc
In directory
sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv12340/lib-src/libnyquist/nyqsrc
Modified Files:
sndfnint.c sndfnintdefs.h sndfnintptrs.h
Log Message:
Add autoconf support for libtwolame (adds MP2 export support to Linux and Mac
builds)
Index: sndfnintptrs.h
===================================================================
RCS file: /cvsroot/audacity/lib-src/libnyquist/nyqsrc/sndfnintptrs.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- sndfnintptrs.h 21 Jul 2004 19:19:05 -0000 1.5
+++ sndfnintptrs.h 20 Oct 2006 10:32:01 -0000 1.6
@@ -91,3 +91,7 @@
{ "SND-TAPV", S, xlc_snd_tapv},
{ "SND-BIQUAD", S, xlc_snd_biquad},
{ "SND-PLUCK", S, xlc_snd_pluck},
+ { "SND-ABS", S, xlc_snd_abs},
+ { "SND-SQRT", S, xlc_snd_sqrt},
+ { "SND-ALPASSCV", S, xlc_snd_alpasscv},
+ { "SND-ALPASSVC", S, xlc_snd_alpassvc},
Index: sndfnintdefs.h
===================================================================
RCS file: /cvsroot/audacity/lib-src/libnyquist/nyqsrc/sndfnintdefs.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- sndfnintdefs.h 21 Jul 2004 19:19:05 -0000 1.5
+++ sndfnintdefs.h 20 Oct 2006 10:32:01 -0000 1.6
@@ -91,3 +91,7 @@
extern LVAL xlc_snd_tapv(void);
extern LVAL xlc_snd_biquad(void);
extern LVAL xlc_snd_pluck(void);
+extern LVAL xlc_snd_abs(void);
+extern LVAL xlc_snd_sqrt(void);
+extern LVAL xlc_snd_alpasscv(void);
+extern LVAL xlc_snd_alpassvc(void);
Index: sndfnint.c
===================================================================
RCS file: /cvsroot/audacity/lib-src/libnyquist/nyqsrc/sndfnint.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- sndfnint.c 21 Jul 2004 19:19:05 -0000 1.5
+++ sndfnint.c 20 Oct 2006 10:32:01 -0000 1.6
@@ -20,7 +20,8 @@
* tran/fromobject.h, tran/fromarraystream.h,
* tran/coterm.h, tran/convolve.h, tran/alpass.h,
* tran/oneshot.h, tran/chase.h, tran/tapv.h,
- * tran/biquad.h, tran/pluck.h */
+ * tran/biquad.h, tran/pluck.h, tran/abs.h, tran/sqrt.h,
+ * tran/alpasscv.h, tran/alpassvc.h */
#ifndef mips
#include "stdlib.h"
@@ -1602,3 +1603,68 @@
}
+#include "abs.h"
+
+/* xlc_snd_abs -- interface to C routine snd_abs */
+/**/
+LVAL xlc_snd_abs(void)
+{
+ sound_type arg1 = getsound(xlgasound());
+ sound_type result;
+
+ xllastarg();
+ result = snd_abs(arg1);
+ return cvsound(result);
+}
+
+
+#include "sqrt.h"
+
+/* xlc_snd_sqrt -- interface to C routine snd_sqrt */
+/**/
+LVAL xlc_snd_sqrt(void)
+{
+ sound_type arg1 = getsound(xlgasound());
+ sound_type result;
+
+ xllastarg();
+ result = snd_sqrt(arg1);
+ return cvsound(result);
+}
+
+
+#include "alpasscv.h"
+
+/* xlc_snd_alpasscv -- interface to C routine snd_alpasscv */
+/**/
+LVAL xlc_snd_alpasscv(void)
+{
+ sound_type arg1 = getsound(xlgasound());
+ double arg2 = testarg2(xlgaanynum());
+ sound_type arg3 = getsound(xlgasound());
+ sound_type result;
+
+ xllastarg();
+ result = snd_alpasscv(arg1, arg2, arg3);
+ return cvsound(result);
+}
+
+
+#include "alpassvc.h"
+
+/* xlc_snd_alpassvc -- interface to C routine snd_alpassvc */
+/**/
+LVAL xlc_snd_alpassvc(void)
+{
+ sound_type arg1 = getsound(xlgasound());
+ sound_type arg2 = getsound(xlgasound());
+ double arg3 = testarg2(xlgaanynum());
+ double arg4 = testarg2(xlgaanynum());
+ sound_type result;
+
+ xllastarg();
+ result = snd_alpassvc(arg1, arg2, arg3, arg4);
+ return cvsound(result);
+}
+
+
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs