From fdb2eabfa6ee4d0c89aa6201a9e647ac8c2c1bdd Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 23 Sep 2002 16:18:50 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r139, which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/olafmatt/; revision=140 --- clone/clone.h | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 clone/clone.h (limited to 'clone/clone.h') diff --git a/clone/clone.h b/clone/clone.h new file mode 100644 index 0000000..264b928 --- /dev/null +++ b/clone/clone.h @@ -0,0 +1,64 @@ +/* ----------------------------- clone.h ------------------------------------ */ +/* */ +/* clone :: abstraction cloner object */ +/* Written by Olaf Matthes */ +/* Get source at http://www.akustische-kunst.org/puredata/clone/ */ +/* */ +/* This program is free software; you can redistribute it and/or */ +/* modify it under the terms of the GNU General Public License */ +/* as published by the Free Software Foundation; either version 2 */ +/* of the License, or (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program; if not, write to the Free Software */ +/* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* */ +/* Based on PureData by Miller Puckette and others. */ +/* */ +/* ---------------------------------------------------------------------------- */ + +#ifndef __CLONE_H__ +#define __CLONE_H__ + +#define MAXCONNECT 256 + +extern t_class *clone_in_class; +extern t_class *clone_out_class; + +typedef struct _clone_out +{ + t_object x_obj; + t_symbol *x_sym; + int x_ab; +} t_clone_out; + +typedef struct _clone_sigin +{ + t_object x_obj; + t_float *x_wherefrom; + int x_vs; + t_float x_f; +} t_clone_sigin; + +typedef struct _clone_sigout +{ + t_object x_obj; + t_float *x_whereto; + int x_vs; + t_float x_f; +} t_clone_sigout; + +void clone_in_setup(void); +void clone_sigin_set(t_clone_sigin *x, int vs, t_float *vec); +void clone_sigin_setup(void); +void clone_out_set(t_clone_out *x, int i, t_symbol *s); +void clone_out_setup(void); +void clone_sigout_set(t_clone_sigout *x, int vs, t_float *vec); +void clone_sigout_setup(void); + +#endif -- cgit v1.2.1