-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-05-12 10:34, Ahmet Kizilay wrote:
while(n--) { *out = 0.0;
signals can share memory, e.g. the pointer to the/an input vector might be the same as the pointer to the/an output vector. therefore the above _might_ overwrite the data in one of the input signals. you should do something like: while(n--) { t_sample tmp=0; for(j = 0; j < 2; j++) tmp += *ins[j]++; *out++=tmp; }
fgmasdr IOhannes