Overlapping FFT's seem to work now.

Originally committed to SVN as r1303.
This commit is contained in:
Niels Martin Hansen 2007-06-24 20:09:18 +00:00
parent 18340499c6
commit e2858d07c9
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ public:
// Both start and end are included in the range stored, so we have end-start+1 elements
data.resize(length*overlaps, null_line);
unsigned int overlap_offset = length / overlaps / 2;
unsigned int overlap_offset = line_length / overlaps * 2; // FIXME: the result seems weird/wrong without this factor 2, but why?
// Raw sample data
short *raw_sample_data = new short[line_length*2];