Kaynağa Gözat

Move cstdint and cstdio for fft to the header file

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
Alexis Maiquez 3 yıl önce
ebeveyn
işleme
660f798d9a
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 0 2
      src/External/Android/fft.cpp
  2. 2 0
      src/External/Android/fft.h

+ 0 - 2
src/External/Android/fft.cpp

@@ -26,8 +26,6 @@ namespace External::Android
  * half of the twiddle factors are stored. Although there are still ways to make
  * it even faster or smaller, it costs too much on one of the aspects.
  */
-#include <cstdio>
-#include <cstdint>
 #ifdef __arm__
 #include <machine/cpu-features.h>
 #endif

+ 2 - 0
src/External/Android/fft.h

@@ -1,6 +1,8 @@
 #pragma once
 
 #include <iostream>
+#include <cstdio>
+#include <cstdint>
 
 #define WAVE_BUFFER_SIZE 1024