aboutsummaryrefslogtreecommitdiff
path: root/src/pack~.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2015-08-28 17:55:26 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2015-08-28 17:55:26 +0000
commit739a8290a8b05645a2d055aed8e5eb76ba2e24e6 (patch)
tree13713efb9e01a6f2912ce4fe0a12af4869a7593b /src/pack~.c
parent863ac0a263247d43d48c06ed942ddd470f811507 (diff)
one-true indentation
svn path=/trunk/externals/zexy/; revision=17537
Diffstat (limited to 'src/pack~.c')
-rw-r--r--src/pack~.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/pack~.c b/src/pack~.c
index 89901b3..5ec6085 100644
--- a/src/pack~.c
+++ b/src/pack~.c
@@ -1,4 +1,4 @@
-/*
+/*
* pack~: pack the signal-vector to a list of floats
*
* (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem)
@@ -7,12 +7,12 @@
* 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, see <http://www.gnu.org/licenses/>.
*/
@@ -21,8 +21,7 @@
static t_class *sigpack_class;
-typedef struct _sigpack
-{
+typedef struct _sigpack {
t_object x_obj;
int vector_length;
@@ -33,7 +32,8 @@ typedef struct _sigpack
static void sigpack_tick(t_sigpack*x)
{
- outlet_list(x->x_obj.ob_outlet, gensym("list"), x->vector_length, x->buffer);
+ outlet_list(x->x_obj.ob_outlet, gensym("list"), x->vector_length,
+ x->buffer);
}
static t_int *sigpack_perform(t_int *w)
@@ -92,7 +92,8 @@ static void sigpack_help(void)
void pack_tilde_setup(void)
{
- sigpack_class = class_new(gensym("pack~"), (t_newmethod)sigpack_new, (t_method)sigpack_free,
+ sigpack_class = class_new(gensym("pack~"), (t_newmethod)sigpack_new,
+ (t_method)sigpack_free,
sizeof(t_sigpack), 0, A_DEFFLOAT, 0);
class_addmethod(sigpack_class, nullfn, gensym("signal"), 0);
class_addmethod(sigpack_class, (t_method)sigpack_dsp, gensym("dsp"), 0);