diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2008-03-22 02:28:22 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2008-03-22 02:28:22 +0000 |
commit | 0f770551cebca90c92b7a39b0e0135a445af51f9 (patch) | |
tree | c1fc0b535133c7d292808c8cee22817e5cdec0e3 /src/pdj~.c | |
parent | a764e59e1d3a8e330f0d484fdb26b35ca3f0b2e4 (diff) |
merging in pdj-0.8.4.tar.gz from http://www.le-son666.com/software/pdj/
svn path=/trunk/externals/loaders/pdj/; revision=9624
Diffstat (limited to 'src/pdj~.c')
-rw-r--r-- | src/pdj~.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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;tmp<pdjt->outs_count;tmp++) { @@ -41,7 +42,6 @@ t_int *pdj_tilde_perform(t_int *w) { } /* copy buffer out */ - work = i + 3; for (i=0;i<pdjt->outs_count;i++) { t_sample *out = (t_sample *)(w[work+i]); (*env)->GetFloatArrayRegion(env, pdjt->outs[i], 0, sz, out); |