here is the code for my convolution project that i'm working on. i
sent an earlier email to the pdlist, but i don't think it'll go through because it's over 2MB which includes a bin file. anyway i found out where i'm getting the seg fault:
for(set=0; set<=255; set++)
{
aleftout[set]=(*in1++); /*brings in 256 samples from input*/
arightout[set]=(*in2++);
}
what i think is happening is that aleftout and arightout are float
arrays, and what i'm trying to pass into them are pointers to floats. everything in my code is happening in the while(n--) part of it, so i think i just need to make some type conversions there. i believe all of the fftr4_ functions take floats, so i need to convert from pointer to float, and then again from float to pointer. thanks in advance to anybody who can help me! i'm just not sure how to do this.
scott
"640K ought to be enough for anybody." -- Bill Gates, 1981
---------- Forwarded message ---------- Date: Tue, 20 Aug 2002 14:27:02 -0700 (PDT) From: Jeffrey Hildebrand jscotth@nyquist.cipic.ucdavis.edu To: jscotth@ucdavis.edu