diff options
author | Chris Robinson <[email protected]> | 2016-07-30 09:29:21 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-07-30 09:29:21 -0700 |
commit | 33a84f17ac78ac1f77b48fbd1193fafab5ca14e7 (patch) | |
tree | 66055c0a89d22552b856038434333b2ca2eb06cc /Alc/ALu.c | |
parent | b5b3ea95f899410a5392fb633ace74c10bbd9921 (diff) |
Add a stand-alone upsampler for higher-order ambisonic oputput
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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); |