Skip to content

Commit faaa73a

Browse files
committed
Push libjamesdsp updates from james34602/JamesDSPManager@c082020
1 parent 221a34e commit faaa73a

File tree

1 file changed

+1
-3
lines changed
  • libjamesdsp/subtree/Main/libjamesdsp/jni/jamesdsp/jdsp/Effects/eel2

1 file changed

+1
-3
lines changed

libjamesdsp/subtree/Main/libjamesdsp/jni/jamesdsp/jdsp/Effects/eel2/nseel-compiler.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -589,9 +589,7 @@ void STFT_DynInit(int32_t *indexFw, float *analysisWnd)
589589
getAsymmetricWindow(analysisWnd, synthesisWnd, indexFw[0], ovpSmps, indexFw[5] / (float)32767);
590590
// Pre-shift window function
591591
for (i = 0; i < indexFw[0] - indexFw[2]; i++)
592-
synthesisWnd[i] = synthesisWnd[i + indexFw[2]];
593-
for (i = 0; i < indexFw[0]; i++)
594-
analysisWnd[i] *= (1.0f / indexFw[0]) * 0.5f;
592+
synthesisWnd[i] = synthesisWnd[i + indexFw[2]] * (1.0f / indexFw[0]) * 0.5f;
595593
}
596594
int32_t STFTCartesian(float *indexer, float *analysisWnd, float *ptr)
597595
{

0 commit comments

Comments
 (0)