瀏覽代碼

Move cstdint and cstdio for fft to the header file

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
Alexis Maiquez 3 年之前
父節點
當前提交
660f798d9a
共有 2 個文件被更改,包括 2 次插入 和 2 次删除
  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