aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alu.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-03-13 21:32:45 -0800
committerChris Robinson <[email protected]>2010-03-13 21:32:45 -0800
commitc23e4ed412196e3632d0143be2d67fc2916e4fa8 (patch)
tree3e6e49cece216b9315051d7f20f56390c51ce5b1 /OpenAL32/Include/alu.h
parent8c0118e7aefefe5180591aeafbcd34557b6a55d5 (diff)
Add support for AL_EXT_DOUBLE
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r--OpenAL32/Include/alu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index a4e0930c..a309e6ef 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -110,6 +110,10 @@ static __inline ALuint aluBytesFromFormat(ALenum format)
case AL_FORMAT_71CHN32:
return 4;
+ case AL_FORMAT_MONO_DOUBLE_EXT:
+ case AL_FORMAT_STEREO_DOUBLE_EXT:
+ return 8;
+
default:
return 0;
}
@@ -121,11 +125,13 @@ static __inline ALuint aluChannelsFromFormat(ALenum format)
case AL_FORMAT_MONO8:
case AL_FORMAT_MONO16:
case AL_FORMAT_MONO_FLOAT32:
+ case AL_FORMAT_MONO_DOUBLE_EXT:
return 1;
case AL_FORMAT_STEREO8:
case AL_FORMAT_STEREO16:
case AL_FORMAT_STEREO_FLOAT32:
+ case AL_FORMAT_STEREO_DOUBLE_EXT:
return 2;
case AL_FORMAT_QUAD8_LOKI: