summaryrefslogtreecommitdiff
path: root/apps/plugins/pdbox/PDa/src/d_ugen.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pdbox/PDa/src/d_ugen.c')
-rw-r--r--apps/plugins/pdbox/PDa/src/d_ugen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/pdbox/PDa/src/d_ugen.c b/apps/plugins/pdbox/PDa/src/d_ugen.c
index 189ecb8edc..642ed580bd 100644
--- a/apps/plugins/pdbox/PDa/src/d_ugen.c
+++ b/apps/plugins/pdbox/PDa/src/d_ugen.c
@@ -866,7 +866,7 @@ void ugen_done_graph(t_dspcontext *dc)
866 t_dspcontext *parent_context = dc->dc_parentcontext; 866 t_dspcontext *parent_context = dc->dc_parentcontext;
867 float parent_srate; 867 float parent_srate;
868 int parent_vecsize; 868 int parent_vecsize;
869 int period, frequency, phase, vecsize; 869 int period, frequency, /* phase, */ vecsize;
870 float srate; 870 float srate;
871 int chainblockbegin; /* DSP chain onset before block prolog code */ 871 int chainblockbegin; /* DSP chain onset before block prolog code */
872 int chainblockend; /* and after block epilog code */ 872 int chainblockend; /* and after block epilog code */
@@ -931,7 +931,7 @@ void ugen_done_graph(t_dspcontext *dc)
931 frequency = (parent_vecsize * realoverlap * upsample)/ 931 frequency = (parent_vecsize * realoverlap * upsample)/
932 (vecsize * downsample); 932 (vecsize * downsample);
933 /* } IOhannes*/ 933 /* } IOhannes*/
934 phase = blk->x_phase; 934 /* phase = blk->x_phase; */
935 srate = parent_srate * realoverlap * upsample / downsample; 935 srate = parent_srate * realoverlap * upsample / downsample;
936 /* IOhannes */ 936 /* IOhannes */
937 if (period < 1) period = 1; 937 if (period < 1) period = 1;
@@ -951,7 +951,7 @@ void ugen_done_graph(t_dspcontext *dc)
951 vecsize = parent_vecsize; 951 vecsize = parent_vecsize;
952 downsample = upsample = 1;/* IOhannes */ 952 downsample = upsample = 1;/* IOhannes */
953 period = frequency = 1; 953 period = frequency = 1;
954 phase = 0; 954 /* phase = 0; */
955 if (!parent_context) reblock = 1; 955 if (!parent_context) reblock = 1;
956 switched = 0; 956 switched = 0;
957 } 957 }