diff options
author | Chris Robinson <[email protected]> | 2020-12-27 16:14:11 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-12-27 16:14:11 -0800 |
commit | 62fa6a22773ca7d5bb8194c2ef59f82b69d27538 (patch) | |
tree | c05d793cf1515c99cd533ebcde755f544af3de8d /alc | |
parent | ffa7d1b1a7132a00656eaf001f30441580e6a6a4 (diff) |
Avoid including voice.h in alcontext.h
Diffstat (limited to 'alc')
-rw-r--r-- | alc/alcontext.h | 3 | ||||
-rw-r--r-- | alc/effects/convolution.cpp | 1 | ||||
-rw-r--r-- | alc/effects/fshifter.cpp | 2 | ||||
-rw-r--r-- | alc/effects/pshifter.cpp | 1 | ||||
-rw-r--r-- | alc/effects/vmorpher.cpp | 2 |
5 files changed, 8 insertions, 1 deletions
diff --git a/alc/alcontext.h b/alc/alcontext.h index 4e2bcdd7..31160bb2 100644 --- a/alc/alcontext.h +++ b/alc/alcontext.h @@ -23,14 +23,15 @@ #include "threads.h" #include "vecmat.h" #include "vector.h" -#include "voice.h" struct ALeffectslot; struct ALsource; struct EffectSlot; struct EffectSlotProps; struct RingBuffer; +struct Voice; struct VoiceChange; +struct VoicePropsItem; enum class DistanceModel : unsigned char { diff --git a/alc/effects/convolution.cpp b/alc/effects/convolution.cpp index 79a63a38..716830a9 100644 --- a/alc/effects/convolution.cpp +++ b/alc/effects/convolution.cpp @@ -20,6 +20,7 @@ #include "core/logging.h" #include "effects/base.h" #include "effectslot.h" +#include "math_defs.h" #include "polyphase_resampler.h" diff --git a/alc/effects/fshifter.cpp b/alc/effects/fshifter.cpp index 630b8e1d..9fe3b77e 100644 --- a/alc/effects/fshifter.cpp +++ b/alc/effects/fshifter.cpp @@ -31,6 +31,8 @@ #include "alcontext.h" #include "alu.h" #include "effectslot.h" +#include "math_defs.h" + namespace { diff --git a/alc/effects/pshifter.cpp b/alc/effects/pshifter.cpp index 0c8bdefc..ac00bac1 100644 --- a/alc/effects/pshifter.cpp +++ b/alc/effects/pshifter.cpp @@ -32,6 +32,7 @@ #include "alnumeric.h" #include "alu.h" #include "effectslot.h" +#include "math_defs.h" namespace { diff --git a/alc/effects/vmorpher.cpp b/alc/effects/vmorpher.cpp index 32c4b811..3bd4430c 100644 --- a/alc/effects/vmorpher.cpp +++ b/alc/effects/vmorpher.cpp @@ -29,6 +29,8 @@ #include "alcontext.h" #include "alu.h" #include "effectslot.h" +#include "math_defs.h" + namespace { |