forked from mia/Aegisub
Overlapping FFT's seem to work now.
Originally committed to SVN as r1303.
This commit is contained in:
parent
18340499c6
commit
e2858d07c9
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue