aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/hrtf.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-07-28 11:28:36 -0700
committerChris Robinson <[email protected]>2019-07-28 11:28:36 -0700
commit5428d6acc37e33802b0b66b2f9cdc0a37dd36429 (patch)
treee8e159f6b612e246a97e23d14f47a25f1996b35d /Alc/hrtf.cpp
parent659b6d4245b92a7dba3a1b1693db6de8ddf999eb (diff)
Clean up includes a bit
Trying out the IWYU tool to only include what's necessary in a given file. Seems to work decently (it'll miss some headers, suggest unnecessary ones, and make nonsense suggestions for some things, but overall gives a good starting point), and helps clean out some headers.
Diffstat (limited to 'Alc/hrtf.cpp')
-rw-r--r--Alc/hrtf.cpp35
1 files changed, 21 insertions, 14 deletions
diff --git a/Alc/hrtf.cpp b/Alc/hrtf.cpp
index d86c4ecf..5561ebfd 100644
--- a/Alc/hrtf.cpp
+++ b/Alc/hrtf.cpp
@@ -20,30 +20,37 @@
#include "config.h"
-#include <stdlib.h>
-#include <ctype.h>
+#include "hrtf.h"
-#include <mutex>
+#include <algorithm>
#include <array>
-#include <vector>
+#include <cassert>
+#include <cctype>
+#include <cstdint>
+#include <cstdio>
+#include <cstring>
+#include <functional>
+#include <fstream>
+#include <iterator>
#include <memory>
-#include <istream>
+#include <mutex>
+#include <new>
#include <numeric>
-#include <algorithm>
-#include <functional>
+#include <utility>
#include "AL/al.h"
-#include "AL/alc.h"
+
#include "alMain.h"
-#include "alSource.h"
-#include "alu.h"
-#include "hrtf.h"
#include "alconfig.h"
-#include "filters/splitter.h"
-
-#include "compat.h"
#include "almalloc.h"
+#include "alnumeric.h"
+#include "aloptional.h"
#include "alspan.h"
+#include "compat.h"
+#include "filters/splitter.h"
+#include "logging.h"
+#include "math_defs.h"
+#include "opthelpers.h"
struct HrtfHandle {