Mercurial > hg > libxtract
comparison examples/puredata/xtract~.c @ 59:8fd7088c8ff6
Various minor fixes
author | Jamie Bullock <jamie@postlude.co.uk> |
---|---|
date | Mon, 12 Feb 2007 17:11:31 +0000 |
parents | 450712b21565 |
children | 1222cd753029 |
comparison
equal
deleted
inserted
replaced
58:3936f8492cab | 59:8fd7088c8ff6 |
---|---|
138 type = fd[f].argv.type; | 138 type = fd[f].argv.type; |
139 | 139 |
140 if(n_args){ | 140 if(n_args){ |
141 for(n = 0; n < n_args; n++){ | 141 for(n = 0; n < n_args; n++){ |
142 argv_max = &fd[f].argv.max[n]; | 142 argv_max = &fd[f].argv.max[n]; |
143 post("Argument %d, max: %.2f", n, *argv_max); | 143 //post("Argument %d, max: %.2f", n, *argv_max); |
144 } | 144 } |
145 if(type == XTRACT_MEL_FILTER){ | 145 if(type == XTRACT_MEL_FILTER){ |
146 x->memory.argv = (size_t)(n_args * sizeof(xtract_mel_filter)); | 146 x->memory.argv = (size_t)(n_args * sizeof(xtract_mel_filter)); |
147 x->argv = (xtract_mel_filter *)getbytes(x->memory.argv); | 147 x->argv = (xtract_mel_filter *)getbytes(x->memory.argv); |
148 } | 148 } |