aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alSource.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-06-29 23:18:49 -0700
committerChris Robinson <[email protected]>2011-06-29 23:18:49 -0700
commit5736bbc3e43145aa59d3e611ad95e4e73fb836df (patch)
treebeb6f03976fa2887260493fe9ac978d2d5738611 /OpenAL32/Include/alSource.h
parent1b773a858534693056161c90702c4cdb013e8a64 (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/alSource.h')
-rw-r--r--OpenAL32/Include/alSource.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 9cbd7f54..8afe8281 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -46,6 +46,7 @@ typedef struct ALsource
ALboolean bHeadRelative;
ALboolean bLooping;
ALenum DistanceModel;
+ ALboolean VirtualChannels;
resampler_t Resampler;