aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alu.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-08-14 05:43:52 -0700
committerChris Robinson <[email protected]>2008-08-14 05:43:52 -0700
commit22557070ec4852d64ad153f5cac907f84119702c (patch)
tree5ef3211350145257afdd1642699a206da89d8bfe /OpenAL32/Include/alu.h
parentf8ef66954c4cd95a8c91a458b33a8e8318a72d5b (diff)
Ramp channel gains to remove pops and clicks from abrupt changes
Thanks to Christopher Fitzgerald for helping me work on it
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r--OpenAL32/Include/alu.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index 6fab1fae..b14180b2 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -8,6 +8,19 @@
extern "C" {
#endif
+enum {
+ FRONT_LEFT = 0,
+ FRONT_RIGHT,
+ SIDE_LEFT,
+ SIDE_RIGHT,
+ BACK_LEFT,
+ BACK_RIGHT,
+ CENTER,
+ LFE,
+
+ OUTPUTCHANNELS
+};
+
extern ALboolean DuplicateStereo;
__inline ALuint aluBytesFromFormat(ALenum format);