From 0f770551cebca90c92b7a39b0e0135a445af51f9 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 22 Mar 2008 02:28:22 +0000 Subject: merging in pdj-0.8.4.tar.gz from http://www.le-son666.com/software/pdj/ svn path=/trunk/externals/loaders/pdj/; revision=9624 --- src/pdj~.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/pdj~.c') diff --git a/src/pdj~.c b/src/pdj~.c index d2f2a36..8ecdb5d 100644 --- a/src/pdj~.c +++ b/src/pdj~.c @@ -20,12 +20,13 @@ t_int *pdj_tilde_perform(t_int *w) { /* call the performer */ (*env)->CallVoidMethod(env, pdjt->pdj.obj, pdjt->performer, pdjt->_used_inputs, pdjt->_used_outputs); - + + /* set work to output outlets */ + work = i + 3; + /* if an exception occured, stop the dsp processing for this object */ if ( (*env)->ExceptionOccurred(env) ) { int tmp; - - work = i + 3; /* insert silence */ for (tmp=0;tmpouts_count;tmp++) { @@ -41,7 +42,6 @@ t_int *pdj_tilde_perform(t_int *w) { } /* copy buffer out */ - work = i + 3; for (i=0;iouts_count;i++) { t_sample *out = (t_sample *)(w[work+i]); (*env)->GetFloatArrayRegion(env, pdjt->outs[i], 0, sz, out); -- cgit v1.2.1