aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMain.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-09-14 02:42:36 -0700
committerChris Robinson <[email protected]>2012-09-14 02:42:36 -0700
commit9f58edd7a873aaec50ca27c52372d70b3a0e1738 (patch)
tree5d263a253958e39553f80a65a2d60c1f797ed415 /OpenAL32/Include/alMain.h
parent0f3a575a09fd3fa77564fd58d526aef14e8ef22a (diff)
Fix up some more header includes
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r--OpenAL32/Include/alMain.h34
1 files changed, 21 insertions, 13 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index a18da7e4..3bfb0046 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -514,6 +514,26 @@ void alc_loopback_deinit(void);
void alc_loopback_probe(enum DevProbe type);
+enum DistanceModel {
+ InverseDistanceClamped = AL_INVERSE_DISTANCE_CLAMPED,
+ LinearDistanceClamped = AL_LINEAR_DISTANCE_CLAMPED,
+ ExponentDistanceClamped = AL_EXPONENT_DISTANCE_CLAMPED,
+ InverseDistance = AL_INVERSE_DISTANCE,
+ LinearDistance = AL_LINEAR_DISTANCE,
+ ExponentDistance = AL_EXPONENT_DISTANCE,
+ DisableDistance = AL_NONE,
+
+ DefaultDistanceModel = InverseDistanceClamped
+};
+
+enum Resampler {
+ PointResampler,
+ LinearResampler,
+ CubicResampler,
+
+ ResamplerMax,
+};
+
enum Channel {
FrontLeft = 0,
FrontRight,
@@ -528,6 +548,7 @@ enum Channel {
MaxChannels,
};
+
/* Device formats */
enum DevFmtType {
DevFmtByte = ALC_BYTE_SOFT,
@@ -700,19 +721,6 @@ struct ALCdevice_struct
#define RemoveFilter(m, k) ((struct ALfilter*)RemoveUIntMapKey(&(m)->FilterMap, (k)))
-enum DistanceModel {
- InverseDistanceClamped = AL_INVERSE_DISTANCE_CLAMPED,
- LinearDistanceClamped = AL_LINEAR_DISTANCE_CLAMPED,
- ExponentDistanceClamped = AL_EXPONENT_DISTANCE_CLAMPED,
- InverseDistance = AL_INVERSE_DISTANCE,
- LinearDistance = AL_LINEAR_DISTANCE,
- ExponentDistance = AL_EXPONENT_DISTANCE,
- DisableDistance = AL_NONE,
-
- DefaultDistanceModel = InverseDistanceClamped
-};
-
-
struct ALCcontext_struct
{
volatile RefCount ref;