aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alu.cpp')
-rw-r--r--Alc/alu.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/alu.cpp b/Alc/alu.cpp
index da9d10f2..9372da85 100644
--- a/Alc/alu.cpp
+++ b/Alc/alu.cpp
@@ -114,7 +114,7 @@ void ProcessHrtf(ALCdevice *device, ALsizei SamplesToDo)
ALsizei c;
if(device->AmbiUp)
- ambiup_process(device->AmbiUp,
+ ambiup_process(device->AmbiUp.get(),
device->Dry.Buffer, device->Dry.NumChannels, device->FOAOut.Buffer,
SamplesToDo
);
@@ -137,11 +137,11 @@ void ProcessHrtf(ALCdevice *device, ALsizei SamplesToDo)
void ProcessAmbiDec(ALCdevice *device, ALsizei SamplesToDo)
{
if(device->Dry.Buffer != device->FOAOut.Buffer)
- bformatdec_upSample(device->AmbiDecoder,
+ bformatdec_upSample(device->AmbiDecoder.get(),
device->Dry.Buffer, device->FOAOut.Buffer, device->FOAOut.NumChannels,
SamplesToDo
);
- bformatdec_process(device->AmbiDecoder,
+ bformatdec_process(device->AmbiDecoder.get(),
device->RealOut.Buffer, device->RealOut.NumChannels, device->Dry.Buffer,
SamplesToDo
);
@@ -149,7 +149,7 @@ void ProcessAmbiDec(ALCdevice *device, ALsizei SamplesToDo)
void ProcessAmbiUp(ALCdevice *device, ALsizei SamplesToDo)
{
- ambiup_process(device->AmbiUp,
+ ambiup_process(device->AmbiUp.get(),
device->RealOut.Buffer, device->RealOut.NumChannels, device->FOAOut.Buffer,
SamplesToDo
);