aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-07-30 09:29:21 -0700
committerChris Robinson <[email protected]>2016-07-30 09:29:21 -0700
commit33a84f17ac78ac1f77b48fbd1193fafab5ca14e7 (patch)
tree66055c0a89d22552b856038434333b2ca2eb06cc /Alc/ALu.c
parentb5b3ea95f899410a5392fb633ace74c10bbd9921 (diff)
Add a stand-alone upsampler for higher-order ambisonic oputput
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index c1478b50..d1a12672 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1534,6 +1534,13 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
device->Dry.Buffer, SamplesToDo
);
}
+ else if(device->AmbiUp)
+ {
+ ambiup_process(device->AmbiUp,
+ device->RealOut.Buffer, device->RealOut.NumChannels,
+ device->FOAOut.Buffer, SamplesToDo
+ );
+ }
else if(device->Uhj_Encoder)
{
int lidx = GetChannelIdxByName(device->RealOut, FrontLeft);