diff options
author | Chris Robinson <[email protected]> | 2011-06-29 23:18:49 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-06-29 23:18:49 -0700 |
commit | 5736bbc3e43145aa59d3e611ad95e4e73fb836df (patch) | |
tree | beb6f03976fa2887260493fe9ac978d2d5738611 /OpenAL32/Include/alMain.h | |
parent | 1b773a858534693056161c90702c4cdb013e8a64 (diff) |
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.
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r-- | OpenAL32/Include/alMain.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 <stdint.h> |