From 5736bbc3e43145aa59d3e611ad95e4e73fb836df Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 29 Jun 2011 23:18:49 -0700 Subject: Add a source property to skip channel virtualization for multi-channel buffers With virtualization disabled, channels are mapped directly from input to output and any input channel that is missing an output is dropped. Any virtualization effects (such as HRTF filters) for positional cues are also skipped. The idea is to allow applications a way to play pre-filtered audio that channel vitualization effects could interfere with. --- OpenAL32/Include/alMain.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenAL32/Include/alMain.h') diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 3264d5ed..ebf1b20e 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -93,6 +93,11 @@ AL_API ALboolean AL_APIENTRY alIsBufferFormatSupportedSOFT(ALenum format); #endif #endif +#ifndef AL_SOFT_non_virtual_channels +#define AL_SOFT_non_virtual_channels 1 +#define AL_VIRTUAL_CHANNELS_SOFT 0x1033 +#endif + #if defined(HAVE_STDINT_H) #include -- cgit v1.2.3