aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index d7f68c03..5064a588 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -35,6 +35,7 @@
#include "bs2b.h"
#include "hrtf.h"
#include "uhjfilter.h"
+#include "bformatdec.h"
#include "static_assert.h"
#include "mixer_defs.h"
@@ -1462,6 +1463,13 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
device->Hrtf_Offset += SamplesToDo;
}
}
+ else if(device->AmbiDecoder)
+ {
+ bformatdec_process(device->AmbiDecoder,
+ device->RealOut.Buffer, device->RealOut.NumChannels,
+ device->VirtOut.Buffer, SamplesToDo
+ );
+ }
else
{
if(device->Uhj_Encoder)