aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-08-05 18:36:39 -0700
committerChris Robinson <[email protected]>2019-08-05 18:36:39 -0700
commit80a85febcfb44369b7c84f4d64a7e53bf390f920 (patch)
treeb6b6354ddf8955139f9dcfab2ca2ea52da8f6ce5
parentd06afa7ca11e06186a62c9465ad099374a4514e7 (diff)
Update some includes
-rw-r--r--alc/alc.cpp1
-rw-r--r--alc/alu.cpp2
-rw-r--r--alc/alu.h1
-rw-r--r--alc/bformatdec.cpp2
-rw-r--r--alc/bformatdec.h1
-rw-r--r--alc/converter.cpp2
-rw-r--r--alc/converter.h1
-rw-r--r--alc/helpers.cpp6
-rw-r--r--alc/hrtf.cpp3
-rw-r--r--alc/mastering.cpp2
-rw-r--r--alc/mixvoice.cpp2
-rw-r--r--alc/panning.cpp38
-rw-r--r--alc/uhjfilter.cpp2
13 files changed, 46 insertions, 17 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp
index 143c2e4e..a34a0824 100644
--- a/alc/alc.cpp
+++ b/alc/alc.cpp
@@ -73,6 +73,7 @@
#include "bs2b.h"
#include "compat.h"
#include "cpu_caps.h"
+#include "devformat.h"
#include "effects/base.h"
#include "filters/nfc.h"
#include "filters/splitter.h"
diff --git a/alc/alu.cpp b/alc/alu.cpp
index f2c843fe..b50927e2 100644
--- a/alc/alu.cpp
+++ b/alc/alu.cpp
@@ -60,6 +60,7 @@
#include "bformatdec.h"
#include "bs2b.h"
#include "cpu_caps.h"
+#include "devformat.h"
#include "effects/base.h"
#include "filters/biquad.h"
#include "filters/nfc.h"
@@ -75,7 +76,6 @@
#include "threads.h"
#include "uhjfilter.h"
#include "vecmat.h"
-#include "vector.h"
#include "bsinc_inc.h"
diff --git a/alc/alu.h b/alc/alu.h
index c795c777..dd133f5a 100644
--- a/alc/alu.h
+++ b/alc/alu.h
@@ -15,6 +15,7 @@
#include "almalloc.h"
#include "alspan.h"
#include "ambidefs.h"
+#include "devformat.h"
#include "filters/biquad.h"
#include "filters/nfc.h"
#include "filters/splitter.h"
diff --git a/alc/bformatdec.cpp b/alc/bformatdec.cpp
index 8319600e..98ef58cb 100644
--- a/alc/bformatdec.cpp
+++ b/alc/bformatdec.cpp
@@ -10,6 +10,8 @@
#include <iterator>
#include <numeric>
+#include "AL/al.h"
+
#include "almalloc.h"
#include "alu.h"
#include "ambdec.h"
diff --git a/alc/bformatdec.h b/alc/bformatdec.h
index 06974651..6d0bf4e6 100644
--- a/alc/bformatdec.h
+++ b/alc/bformatdec.h
@@ -10,6 +10,7 @@
#include "almalloc.h"
#include "alspan.h"
#include "ambidefs.h"
+#include "devformat.h"
#include "filters/splitter.h"
#include "vector.h"
diff --git a/alc/converter.cpp b/alc/converter.cpp
index 2e357fb8..1fa4a5d0 100644
--- a/alc/converter.cpp
+++ b/alc/converter.cpp
@@ -7,6 +7,8 @@
#include <cstdint>
#include <iterator>
+#include "AL/al.h"
+
#include "albyte.h"
#include "fpu_modes.h"
#include "mixer/defs.h"
diff --git a/alc/converter.h b/alc/converter.h
index bc51e46a..9a3308b5 100644
--- a/alc/converter.h
+++ b/alc/converter.h
@@ -10,6 +10,7 @@
#include "almalloc.h"
#include "alnumeric.h"
#include "alu.h"
+#include "devformat.h"
struct SampleConverter {
diff --git a/alc/helpers.cpp b/alc/helpers.cpp
index 7a547168..2174de05 100644
--- a/alc/helpers.cpp
+++ b/alc/helpers.cpp
@@ -109,6 +109,7 @@ DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_GUID, 0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x
#include "cpu_caps.h"
#include "fpu_modes.h"
#include "logging.h"
+#include "vector.h"
#if defined(HAVE_GCC_GET_CPUID) && (defined(__i386__) || defined(__x86_64__) || \
@@ -595,6 +596,11 @@ void SetRTPriority(void)
#else
+#if defined(HAVE_PTHREAD_SETSCHEDPARAM) && !defined(__OpenBSD__)
+#include <pthread.h>
+#include <sched.h>
+#endif
+
const PathNamePair &GetProcBinary()
{
static PathNamePair ret;
diff --git a/alc/hrtf.cpp b/alc/hrtf.cpp
index 590d102a..5446c412 100644
--- a/alc/hrtf.cpp
+++ b/alc/hrtf.cpp
@@ -1363,8 +1363,7 @@ HrtfEntry *GetLoadedHrtf(HrtfHandle *handle)
return nullptr;
}
- TRACE("Loaded HRTF support for format: %s %uhz\n",
- DevFmtChannelsString(DevFmtStereo), hrtf->sampleRate);
+ TRACE("Loaded HRTF support for sample rate: %uhz\n", hrtf->sampleRate);
handle->entry = std::move(hrtf);
return handle->entry.get();
diff --git a/alc/mastering.cpp b/alc/mastering.cpp
index d4d87c25..fa767e83 100644
--- a/alc/mastering.cpp
+++ b/alc/mastering.cpp
@@ -11,6 +11,8 @@
#include <limits>
#include <new>
+#include "AL/al.h"
+
#include "almalloc.h"
#include "alnumeric.h"
#include "alu.h"
diff --git a/alc/mixvoice.cpp b/alc/mixvoice.cpp
index 0c644344..cf3eeb50 100644
--- a/alc/mixvoice.cpp
+++ b/alc/mixvoice.cpp
@@ -27,7 +27,6 @@
#include <climits>
#include <cstddef>
#include <cstdint>
-#include <cstdlib>
#include <cstring>
#include <iterator>
#include <memory>
@@ -51,6 +50,7 @@
#include "alspan.h"
#include "alu.h"
#include "cpu_caps.h"
+#include "devformat.h"
#include "filters/biquad.h"
#include "filters/nfc.h"
#include "filters/splitter.h"
diff --git a/alc/panning.cpp b/alc/panning.cpp
index fd1e29ce..55af4747 100644
--- a/alc/panning.cpp
+++ b/alc/panning.cpp
@@ -20,29 +20,41 @@
#include "config.h"
+#include <algorithm>
+#include <array>
+#include <chrono>
#include <cmath>
-#include <cstdlib>
+#include <cstdio>
#include <cstring>
-#include <cctype>
-#include <cassert>
-
-#include <cmath>
-#include <chrono>
-#include <numeric>
-#include <algorithm>
#include <functional>
+#include <iterator>
+#include <memory>
+#include <new>
+#include <numeric>
+#include <string>
+
+#include "AL/al.h"
+#include "AL/alc.h"
+#include "AL/alext.h"
#include "al/auxeffectslot.h"
#include "alcmain.h"
-#include "alu.h"
#include "alconfig.h"
+#include "almalloc.h"
+#include "alnumeric.h"
+#include "aloptional.h"
+#include "alspan.h"
+#include "alu.h"
#include "ambdec.h"
+#include "ambidefs.h"
#include "bformatdec.h"
-#include "filters/splitter.h"
-#include "uhjfilter.h"
#include "bs2b.h"
-
-#include "alspan.h"
+#include "devformat.h"
+#include "hrtf.h"
+#include "logging.h"
+#include "math_defs.h"
+#include "opthelpers.h"
+#include "uhjfilter.h"
constexpr std::array<float,MAX_AMBI_CHANNELS> AmbiScale::FromN3D;
diff --git a/alc/uhjfilter.cpp b/alc/uhjfilter.cpp
index b2cdf328..7f3cd069 100644
--- a/alc/uhjfilter.cpp
+++ b/alc/uhjfilter.cpp
@@ -6,6 +6,8 @@
#include <algorithm>
#include <iterator>
+#include "AL/al.h"
+
#include "alnumeric.h"
#include "opthelpers.h"