aboutsummaryrefslogtreecommitdiff
path: root/src/iem16_table.h
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2004-11-23 15:29:47 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2004-11-23 15:29:47 +0000
commit9340768f6c7dea7cb7fe348f6fdf52db75ce9d82 (patch)
tree92af89757cb802aee5b088ce5a5c9ce5b29ebc37 /src/iem16_table.h
This commit was generated by cvs2svn to compensate for changes in r2300,svn2git-root
which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/iem16/; revision=2301
Diffstat (limited to 'src/iem16_table.h')
-rw-r--r--src/iem16_table.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/iem16_table.h b/src/iem16_table.h
new file mode 100644
index 0000000..4810312
--- /dev/null
+++ b/src/iem16_table.h
@@ -0,0 +1,27 @@
+/* copyleft (c) 2003 forum::für::umläute -- IOhannes m zmölnig @ IEM
+ * based on d_array.c from pd:
+ * Copyright (c) 1997-1999 Miller Puckette and others.
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution. */
+
+/* sampling */
+
+#include "iem16.h"
+#include <string.h>
+/* ------------------------- table16 -------------------------- */
+/* a 16bit table */
+
+t_class *table16_class;
+typedef struct _table16 {
+ t_object x_obj;
+
+ t_symbol *x_tablename;
+ long x_size;
+ t_iem16_16bit *x_table; // hold the data
+
+ int x_usedindsp;
+} t_table16;
+
+
+EXTERN int table16_getarray16(t_table16*x, int*size,t_iem16_16bit**vec);
+EXTERN void table16_usedindsp(t_table16*x);