We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4abc666 commit 5c1644fCopy full SHA for 5c1644f
src/AudioTools/AudioLibs/AudioFFT.h
@@ -207,11 +207,11 @@ class AudioFFTBase : public AudioStream {
207
if (!p_driver->begin(cfg.length)) {
208
LOGE("Not enough memory");
209
}
210
+ int step_size = cfg.stride > 0 ? cfg.stride : cfg.length;
211
if (cfg.window_function != nullptr) {
- cfg.window_function->begin(length());
212
+ cfg.window_function->begin(step_size);
213
214
- int step_size = cfg.stride > 0 ? cfg.stride : cfg.length;
215
bool is_valid_rxtx = false;
216
if (cfg.rxtx_mode == TX_MODE || cfg.rxtx_mode == RXTX_MODE) {
217
if (cfg.stride > 0 && cfg.stride < cfg.length) {
0 commit comments