summaryrefslogtreecommitdiff
path: root/src/audio/fft.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio/fft.h')
-rw-r--r--src/audio/fft.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/audio/fft.h b/src/audio/fft.h
index df37ad5..6a54742 100644
--- a/src/audio/fft.h
+++ b/src/audio/fft.h
@@ -8,6 +8,9 @@
#include <cstddef>
+// Bit-reversal permutation (in-place). Exposed for testing.
+void bit_reverse_permute(float* real, float* imag, size_t N);
+
// Forward FFT: Time domain → Frequency domain
// Input: real[] (length N), imag[] (length N, can be zeros)
// Output: real[] and imag[] contain complex frequency bins