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.
This commit is contained in:
Chris Robinson 2019-07-28 11:28:36 -07:00
parent 659b6d4245
commit 5428d6acc3
26 changed files with 470 additions and 310 deletions

View File

@ -22,47 +22,71 @@
#include "version.h"
#include <stdlib.h>
#include <stdio.h>
#include <memory.h>
#include <ctype.h>
#include <signal.h>
#include <cmath>
#include <atomic>
#include <mutex>
#include <thread>
#include <vector>
#include <string>
#include <numeric>
#include <exception>
#include <algorithm>
#include <array>
#include <atomic>
#include <cctype>
#include <chrono>
#include <climits>
#include <cmath>
#include <csignal>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <functional>
#include <iterator>
#include <limits>
#include <memory>
#include <mutex>
#include <new>
#include <numeric>
#include <string>
#include <thread>
#include <utility>
#include "AL/al.h"
#include "AL/alc.h"
#include "AL/alext.h"
#include "AL/efx.h"
#include "alMain.h"
#include "alcontext.h"
#include "alSource.h"
#include "alListener.h"
#include "alSource.h"
#include "alBuffer.h"
#include "alFilter.h"
#include "alEffect.h"
#include "alAuxEffectSlot.h"
#include "alEffect.h"
#include "alError.h"
#include "mastering.h"
#include "bformatdec.h"
#include "uhjfilter.h"
#include "alu.h"
#include "alFilter.h"
#include "alListener.h"
#include "alMain.h"
#include "alSource.h"
#include "albyte.h"
#include "alconfig.h"
#include "ringbuffer.h"
#include "filters/splitter.h"
#include "bs2b.h"
#include "fpu_modes.h"
#include "cpu_caps.h"
#include "compat.h"
#include "threads.h"
#include "alcontext.h"
#include "alexcpt.h"
#include "almalloc.h"
#include "alnumeric.h"
#include "aloptional.h"
#include "alspan.h"
#include "alu.h"
#include "ambidefs.h"
#include "atomic.h"
#include "bformatdec.h"
#include "bs2b.h"
#include "compat.h"
#include "cpu_caps.h"
#include "effects/base.h"
#include "filters/nfc.h"
#include "filters/splitter.h"
#include "fpu_modes.h"
#include "hrtf.h"
#include "inprogext.h"
#include "logging.h"
#include "mastering.h"
#include "opthelpers.h"
#include "ringbuffer.h"
#include "threads.h"
#include "uhjfilter.h"
#include "vecmat.h"
#include "vector.h"
#include "backends/base.h"
#include "backends/null.h"

View File

@ -20,36 +20,62 @@
#include "config.h"
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <assert.h>
#include "alu.h"
#include <cmath>
#include <limits>
#include <numeric>
#include <algorithm>
#include <array>
#include <atomic>
#include <cassert>
#include <chrono>
#include <climits>
#include <cmath>
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <functional>
#include <iterator>
#include <limits>
#include <memory>
#include <new>
#include <numeric>
#include <utility>
#include "AL/al.h"
#include "AL/alc.h"
#include "AL/efx.h"
#include "alAuxEffectSlot.h"
#include "alBuffer.h"
#include "alEffect.h"
#include "alListener.h"
#include "alMain.h"
#include "alcontext.h"
#include "alSource.h"
#include "alBuffer.h"
#include "alListener.h"
#include "alAuxEffectSlot.h"
#include "alu.h"
#include "bs2b.h"
#include "hrtf.h"
#include "mastering.h"
#include "uhjfilter.h"
#include "almalloc.h"
#include "alnumeric.h"
#include "alspan.h"
#include "ambidefs.h"
#include "atomic.h"
#include "bformatdec.h"
#include "ringbuffer.h"
#include "filters/splitter.h"
#include "mixer/defs.h"
#include "fpu_modes.h"
#include "bs2b.h"
#include "cpu_caps.h"
#include "effects/base.h"
#include "filters/biquad.h"
#include "filters/nfc.h"
#include "filters/splitter.h"
#include "fpu_modes.h"
#include "hrtf.h"
#include "inprogext.h"
#include "mastering.h"
#include "math_defs.h"
#include "mixer/defs.h"
#include "opthelpers.h"
#include "ringbuffer.h"
#include "threads.h"
#include "uhjfilter.h"
#include "vecmat.h"
#include "vector.h"
#include "bsinc_inc.h"

View File

@ -22,22 +22,33 @@
#include "backends/alsa.h"
#include <cstdlib>
#include <cstdio>
#include <memory.h>
#include <atomic>
#include <thread>
#include <vector>
#include <string>
#include <algorithm>
#include <atomic>
#include <cassert>
#include <cerrno>
#include <chrono>
#include <cstring>
#include <exception>
#include <functional>
#include <memory>
#include <string>
#include <thread>
#include <utility>
#include "AL/al.h"
#include "alMain.h"
#include "alu.h"
#include "albyte.h"
#include "alconfig.h"
#include "ringbuffer.h"
#include "almalloc.h"
#include "alnumeric.h"
#include "aloptional.h"
#include "alu.h"
#include "compat.h"
#include "logging.h"
#include "ringbuffer.h"
#include "threads.h"
#include "vector.h"
#include <alsa/asoundlib.h>

View File

@ -22,6 +22,9 @@
#include "backends/dsound.h"
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdlib.h>
#include <stdio.h>
#include <memory.h>
@ -34,6 +37,7 @@
#endif
#include <atomic>
#include <cassert>
#include <thread>
#include <string>
#include <vector>
@ -44,6 +48,7 @@
#include "alu.h"
#include "ringbuffer.h"
#include "compat.h"
#include "threads.h"
/* MinGW-w64 needs this for some unknown reason now. */
using LPCWAVEFORMATEX = const WAVEFORMATEX*;

View File

@ -22,18 +22,19 @@
#include "backends/null.h"
#include <cstdlib>
#ifdef HAVE_WINDOWS_H
#include <windows.h>
#endif
#include <exception>
#include <atomic>
#include <chrono>
#include <thread>
#include <cstdint>
#include <cstring>
#include <functional>
#include <thread>
#include "alMain.h"
#include "almalloc.h"
#include "alu.h"
#include "compat.h"
#include "logging.h"
#include "threads.h"
namespace {

View File

@ -22,32 +22,37 @@
#include "backends/oss.h"
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <cstdlib>
#include <poll.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <unistd.h>
#include <algorithm>
#include <atomic>
#include <cerrno>
#include <cstdio>
#include <cstring>
#include <memory.h>
#include <unistd.h>
#include <cerrno>
#include <poll.h>
#include <cmath>
#include <atomic>
#include <thread>
#include <vector>
#include <string>
#include <algorithm>
#include <exception>
#include <functional>
#include <memory>
#include <new>
#include <string>
#include <thread>
#include <utility>
#include "AL/al.h"
#include "alMain.h"
#include "alu.h"
#include "alconfig.h"
#include "almalloc.h"
#include "alnumeric.h"
#include "aloptional.h"
#include "alu.h"
#include "logging.h"
#include "ringbuffer.h"
#include "compat.h"
#include "threads.h"
#include "vector.h"
#include <sys/soundcard.h>

View File

@ -22,6 +22,9 @@
#include "backends/wasapi.h"
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdlib.h>
#include <stdio.h>
#include <memory.h>
@ -56,6 +59,7 @@
#include "ringbuffer.h"
#include "compat.h"
#include "converter.h"
#include "threads.h"
/* Some headers seem to define these as macros for __uuidof, which is annoying

View File

@ -22,20 +22,28 @@
#include "backends/wave.h"
#include <cstdlib>
#include <cstdio>
#include <memory.h>
#include <algorithm>
#include <atomic>
#include <cerrno>
#include <chrono>
#include <thread>
#include <vector>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <exception>
#include <functional>
#include <thread>
#include "AL/al.h"
#include "alMain.h"
#include "alu.h"
#include "alconfig.h"
#include "almalloc.h"
#include "alnumeric.h"
#include "alu.h"
#include "compat.h"
#include "logging.h"
#include "threads.h"
#include "vector.h"
namespace {

View File

@ -1,27 +1,24 @@
#include "config.h"
#include <cmath>
#include <array>
#include <vector>
#include <numeric>
#include <algorithm>
#include <functional>
#include "bformatdec.h"
#include <algorithm>
#include <array>
#include <cassert>
#include <cmath>
#include <iterator>
#include <numeric>
#include "almalloc.h"
#include "alu.h"
#include "ambdec.h"
#include "filters/splitter.h"
#include "alu.h"
#include "threads.h"
#include "almalloc.h"
#include "opthelpers.h"
namespace {
using namespace std::placeholders;
constexpr ALfloat Ambi3DDecoderHFScale[MAX_AMBI_ORDER+1] = {
1.00000000e+00f, 1.00000000e+00f
};

View File

@ -1,11 +1,17 @@
#ifndef BFORMATDEC_H
#define BFORMATDEC_H
#include "alMain.h"
#include "filters/splitter.h"
#include "ambidefs.h"
#include "almalloc.h"
#include <array>
#include <cstddef>
#include "AL/al.h"
#include "alMain.h"
#include "almalloc.h"
#include "alspan.h"
#include "ambidefs.h"
#include "filters/splitter.h"
#include "vector.h"
struct AmbDecConf;
@ -27,10 +33,10 @@ class BFormatDec {
/* NOTE: BandSplitter filters are unused with single-band decoding */
BandSplitter mXOver[MAX_AMBI_CHANNELS];
al::vector<std::array<ALfloat,BUFFERSIZE>, 16> mSamples;
al::vector<FloatBufferLine, 16> mSamples;
/* These two alias into Samples */
std::array<ALfloat,BUFFERSIZE> *mSamplesHF{nullptr};
std::array<ALfloat,BUFFERSIZE> *mSamplesLF{nullptr};
FloatBufferLine *mSamplesHF{nullptr};
FloatBufferLine *mSamplesLF{nullptr};
ALuint mNumChannels{0u};
bool mDualBand{false};

View File

@ -20,17 +20,28 @@
#include "config.h"
#include <cstdlib>
#include <cmath>
#include <algorithm>
#include <climits>
#include <cmath>
#include <cstdlib>
#include <iterator>
#include "AL/al.h"
#include "AL/alc.h"
#include "AL/efx.h"
#include "alMain.h"
#include "alcontext.h"
#include "alAuxEffectSlot.h"
#include "alError.h"
#include "alMain.h"
#include "alcontext.h"
#include "almalloc.h"
#include "alnumeric.h"
#include "alspan.h"
#include "alu.h"
#include "filters/biquad.h"
#include "ambidefs.h"
#include "effects/base.h"
#include "math_defs.h"
#include "opthelpers.h"
#include "vector.h"

View File

@ -1,13 +1,13 @@
#include "config.h"
#include "biquad.h"
#include <algorithm>
#include <cassert>
#include <cmath>
#include "AL/alc.h"
#include "AL/al.h"
#include "alMain.h"
#include "biquad.h"
#include "opthelpers.h"
template<typename Real>

View File

@ -4,7 +4,6 @@
#include <cmath>
#include <utility>
#include "AL/al.h"
#include "math_defs.h"

View File

@ -28,14 +28,15 @@
#include "config.h"
#include <cstdlib>
#include <ctime>
#include <algorithm>
#include <cerrno>
#include <cstdarg>
#include <cctype>
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <mutex>
#include <string>
#ifdef HAVE_DIRENT_H
#include <dirent.h>
#endif
@ -95,35 +96,19 @@ DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_GUID, 0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x
#ifdef HAVE_SYS_SYSCONF_H
#include <sys/sysconf.h>
#endif
#ifdef HAVE_FLOAT_H
#include <cfloat>
#endif
#ifdef HAVE_IEEEFP_H
#include <ieeefp.h>
#endif
#ifndef _WIN32
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
#elif defined(_WIN32_IE)
#include <shlobj.h>
#endif
#include <mutex>
#include <vector>
#include <string>
#include <algorithm>
#include "alMain.h"
#include "alu.h"
#include "almalloc.h"
#include "compat.h"
#include "cpu_caps.h"
#include "fpu_modes.h"
#include "vector.h"
#include "compat.h"
#include "threads.h"
#include "logging.h"
#if defined(HAVE_GCC_GET_CPUID) && (defined(__i386__) || defined(__x86_64__) || \

View File

@ -20,30 +20,37 @@
#include "config.h"
#include <stdlib.h>
#include <ctype.h>
#include "hrtf.h"
#include <mutex>
#include <array>
#include <vector>
#include <memory>
#include <istream>
#include <numeric>
#include <algorithm>
#include <array>
#include <cassert>
#include <cctype>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <functional>
#include <fstream>
#include <iterator>
#include <memory>
#include <mutex>
#include <new>
#include <numeric>
#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 "alMain.h"
#include "alconfig.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 {

View File

@ -2,16 +2,20 @@
#define ALC_HRTF_H
#include <array>
#include <cstddef>
#include <memory>
#include <string>
#include "AL/al.h"
#include "AL/alc.h"
#include "vector.h"
#include "almalloc.h"
#include "ambidefs.h"
#include "atomic.h"
#include "vector.h"
struct HrtfHandle;
#define HRTF_HISTORY_BITS (6)
#define HRTF_HISTORY_LENGTH (1<<HRTF_HISTORY_BITS)
#define HRTF_HISTORY_MASK (HRTF_HISTORY_LENGTH-1)
@ -21,8 +25,6 @@
#define HRIR_MASK (HRIR_LENGTH-1)
struct HrtfHandle;
struct HrtfEntry {
RefCount ref;

View File

@ -20,32 +20,47 @@
#include "config.h"
#include <cmath>
#include <algorithm>
#include <array>
#include <atomic>
#include <cassert>
#include <climits>
#include <cstddef>
#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <cctype>
#include <cassert>
#include <iterator>
#include <memory>
#include <new>
#include <numeric>
#include <algorithm>
#include <string>
#include <utility>
#include "AL/al.h"
#include "AL/alc.h"
#include "alMain.h"
#include "alcontext.h"
#include "alSource.h"
#include "alBuffer.h"
#include "alListener.h"
#include "alAuxEffectSlot.h"
#include "sample_cvt.h"
#include "alu.h"
#include "alMain.h"
#include "alSource.h"
#include "albyte.h"
#include "alconfig.h"
#include "ringbuffer.h"
#include "cpu_caps.h"
#include "mixer/defs.h"
#include "alcontext.h"
#include "alnumeric.h"
#include "aloptional.h"
#include "alspan.h"
#include "alu.h"
#include "cpu_caps.h"
#include "filters/biquad.h"
#include "filters/nfc.h"
#include "filters/splitter.h"
#include "hrtf.h"
#include "inprogext.h"
#include "logging.h"
#include "mixer/defs.h"
#include "opthelpers.h"
#include "ringbuffer.h"
#include "threads.h"
#include "vector.h"
static_assert((INT_MAX>>FRACTIONBITS)/MAX_PITCH > BUFFERSIZE,

View File

@ -1,38 +1,41 @@
#ifndef AL_MAIN_H
#define AL_MAIN_H
#include <string.h>
#include <stdio.h>
#include <stddef.h>
#include <stdarg.h>
#include <assert.h>
#include <math.h>
#include <limits.h>
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#include <array>
#include <vector>
#include <string>
#include <chrono>
#include <algorithm>
#include <array>
#include <atomic>
#include <chrono>
#include <cstdint>
#include <cstddef>
#include <memory>
#include <mutex>
#include <string>
#include <utility>
#include "AL/al.h"
#include "AL/alc.h"
#include "AL/alext.h"
#include "inprogext.h"
#include "atomic.h"
#include "vector.h"
#include "albyte.h"
#include "almalloc.h"
#include "alnumeric.h"
#include "alspan.h"
#include "threads.h"
#include "ambidefs.h"
#include "atomic.h"
#include "hrtf.h"
#include "inprogext.h"
#include "vector.h"
class BFormatDec;
struct ALbuffer;
struct ALeffect;
struct ALfilter;
struct BackendBase;
struct Compressor;
struct EffectState;
struct FrontStablizer;
struct Uhj2Encoder;
struct bs2b;
#ifndef UNUSED
@ -59,23 +62,6 @@ static const union {
#endif
struct HrtfEntry;
struct HrtfHandle;
struct EnumeratedHrtf;
struct DirectHrtfState;
struct FrontStablizer;
struct Compressor;
struct BackendBase;
struct ALbuffer;
struct ALeffect;
struct ALfilter;
struct EffectState;
struct Uhj2Encoder;
class BFormatDec;
class AmbiUpsampler;
struct bs2b;
#define MIN_OUTPUT_RATE 8000
#define DEFAULT_OUTPUT_RATE 44100
#define DEFAULT_UPDATE_SIZE 882 /* 20ms */

View File

@ -1,31 +1,29 @@
#ifndef _ALU_H_
#define _ALU_H_
#include <limits.h>
#include <math.h>
#ifdef HAVE_FLOAT_H
#include <float.h>
#endif
#ifdef HAVE_IEEEFP_H
#include <ieeefp.h>
#endif
#include <cmath>
#include <array>
#include <atomic>
#include <cmath>
#include <cstddef>
#include "AL/al.h"
#include "AL/alc.h"
#include "AL/alext.h"
#include "alMain.h"
#include "alBuffer.h"
#include "alMain.h"
#include "almalloc.h"
#include "alspan.h"
#include "ambidefs.h"
#include "filters/biquad.h"
#include "filters/nfc.h"
#include "filters/splitter.h"
#include "hrtf.h"
#include "logging.h"
#include "math_defs.h"
#include "filters/biquad.h"
#include "filters/splitter.h"
#include "filters/nfc.h"
#include "almalloc.h"
#include "alnumeric.h"
#include "alspan.h"
struct ALbufferlistitem;
struct ALeffectslot;
struct BSincTable;
enum class DistanceModel;
@ -34,13 +32,6 @@ enum class DistanceModel;
#define MAX_SENDS 16
struct BSincTable;
struct ALsource;
struct ALbufferlistitem;
struct ALvoice;
struct ALeffectslot;
#define DITHER_RNG_SEED 22222

View File

@ -20,27 +20,39 @@
#include "config.h"
#include <cstdlib>
#include <cstdio>
#include <cassert>
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
#include <tuple>
#include <array>
#include <vector>
#include <limits>
#include <algorithm>
#include "alMain.h"
#include "alcontext.h"
#include "alu.h"
#include "alError.h"
#include "alBuffer.h"
#include "sample_cvt.h"
#include <algorithm>
#include <array>
#include <atomic>
#include <cassert>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <iterator>
#include <limits>
#include <memory>
#include <mutex>
#include <new>
#include <utility>
#include "AL/al.h"
#include "AL/alc.h"
#include "AL/alext.h"
#include "alError.h"
#include "alMain.h"
#include "albyte.h"
#include "alcontext.h"
#include "alexcpt.h"
#include "almalloc.h"
#include "alnumeric.h"
#include "aloptional.h"
#include "atomic.h"
#include "inprogext.h"
#include "opthelpers.h"
#include "sample_cvt.h"
#include "vector.h"
namespace {

View File

@ -20,22 +20,33 @@
#include "config.h"
#include <cstdlib>
#include <cmath>
#include <cfloat>
#include "alEffect.h"
#include <algorithm>
#include <cstdint>
#include <cstring>
#include <iterator>
#include <memory>
#include <mutex>
#include <new>
#include <utility>
#include "AL/al.h"
#include "AL/alc.h"
#include "AL/alext.h"
#include "AL/efx-presets.h"
#include "AL/efx.h"
#include "alError.h"
#include "alMain.h"
#include "alcontext.h"
#include "alEffect.h"
#include "alError.h"
#include "alexcpt.h"
#include "almalloc.h"
#include "alnumeric.h"
#include "effects/base.h"
#include "logging.h"
#include "opthelpers.h"
#include "vector.h"
const EffectList gEffectList[15]{
@ -539,8 +550,6 @@ EffectStateFactory *getFactoryByType(ALenum type)
}
#include "AL/efx-presets.h"
#define DECL(x) { #x, EFX_REVERB_PRESET_##x }
static const struct {
const char name[32];

View File

@ -20,19 +20,32 @@
#include "config.h"
#include "alError.h"
#include <atomic>
#include <csignal>
#include <cstdarg>
#include <cstdio>
#include <cstring>
#include <mutex>
#ifdef HAVE_WINDOWS_H
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif
#include "AL/al.h"
#include "AL/alc.h"
#include "alMain.h"
#include "alcontext.h"
#include "alError.h"
#include "alexcpt.h"
#include "almalloc.h"
#include "inprogext.h"
#include "logging.h"
#include "opthelpers.h"
#include "vector.h"
bool TrapALError{false};

View File

@ -20,35 +20,56 @@
#include "config.h"
#include <cstdlib>
#include <climits>
#include <cfloat>
#include "alSource.h"
#include <cmath>
#include <thread>
#include <limits>
#include <numeric>
#include <algorithm>
#include <array>
#include <atomic>
#include <cassert>
#include <chrono>
#include <climits>
#include <cmath>
#include <cstdint>
#include <cstdlib>
#include <functional>
#include <iterator>
#include <limits>
#include <memory>
#include <mutex>
#include <new>
#include <numeric>
#include <thread>
#include <type_traits>
#include <utility>
#include "AL/al.h"
#include "AL/alc.h"
#include "AL/alext.h"
#include "AL/efx.h"
#include "alAuxEffectSlot.h"
#include "alBuffer.h"
#include "alError.h"
#include "alFilter.h"
#include "alMain.h"
#include "alcontext.h"
#include "alError.h"
#include "alSource.h"
#include "alBuffer.h"
#include "alFilter.h"
#include "alAuxEffectSlot.h"
#include "ringbuffer.h"
#include "bformatdec.h"
#include "backends/base.h"
#include "threads.h"
#include "alexcpt.h"
#include "almalloc.h"
#include "alnumeric.h"
#include "alu.h"
#include "ambidefs.h"
#include "atomic.h"
#include "backends/base.h"
#include "bformatdec.h"
#include "filters/nfc.h"
#include "filters/splitter.h"
#include "inprogext.h"
#include "logging.h"
#include "math_defs.h"
#include "opthelpers.h"
#include "ringbuffer.h"
#include "threads.h"
#include "vector.h"
namespace {

View File

@ -22,17 +22,26 @@
#include "version.h"
#include <stdlib.h>
#include <atomic>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <mutex>
#include "AL/al.h"
#include "AL/alc.h"
#include "AL/alext.h"
#include "alError.h"
#include "alMain.h"
#include "alcontext.h"
#include "alu.h"
#include "alError.h"
#include "alexcpt.h"
#include "almalloc.h"
#include "alspan.h"
#include "backends/base.h"
#include "alu.h"
#include "atomic.h"
#include "inprogext.h"
#include "opthelpers.h"
namespace {

View File

@ -2,18 +2,30 @@
#include "config.h"
#include <algorithm>
#include <atomic>
#include <cstring>
#include <exception>
#include <memory>
#include <mutex>
#include <new>
#include <string>
#include <thread>
#include "AL/alc.h"
#include "AL/al.h"
#include "AL/alext.h"
#include "AL/alc.h"
#include "alMain.h"
#include "alcontext.h"
#include "alError.h"
#include "alAuxEffectSlot.h"
#include "alMain.h"
#include "albyte.h"
#include "alcontext.h"
#include "alexcpt.h"
#include "almalloc.h"
#include "effects/base.h"
#include "inprogext.h"
#include "logging.h"
#include "opthelpers.h"
#include "ringbuffer.h"
#include "threads.h"
#include "alexcpt.h"
static int EventThread(ALCcontext *context)

View File

@ -1,6 +1,7 @@
#ifndef AL_EFX_H
#define AL_EFX_H
#include <float.h>
#include "alc.h"
#include "al.h"