aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-03-22 17:52:20 -0700
committerChris Robinson <[email protected]>2016-03-22 17:52:20 -0700
commit713ac9e6790ac5bb9491a893c9b2ee0a693878b7 (patch)
treedfba2a437adab49ddea4125e936f5866511e4baa /OpenAL32/Include
parent0a03596af11570f5dba473c93c67c59d285d7bc2 (diff)
Add a specific output for first-order sources
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMain.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index c71e844f..b870059b 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -507,6 +507,15 @@ struct ALCdevice_struct
ALuint NumChannels;
} Dry;
+ /* First-order ambisonics output, to be upsampled to the dry buffer if different. */
+ struct {
+ /* Ambisonic coefficients for mixing. */
+ ChannelConfig AmbiCoeffs[MAX_OUTPUT_CHANNELS];
+
+ ALfloat (*Buffer)[BUFFERSIZE];
+ ALuint NumChannels;
+ } FOAOut;
+
/* Virtual output, to be post-processed to the real output. */
struct {
ALfloat (*Buffer)[BUFFERSIZE];