aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alu.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-22 06:49:37 -0800
committerChris Robinson <[email protected]>2018-11-22 06:49:37 -0800
commit9d73e03aaa6d51d6b787b0d576760f782fc3394f (patch)
tree5fa306fa15d385db3d72098ac870dcd204b4ce7b /Alc/alu.cpp
parentb3b42201828bb737c55c20bd46af10b40d10ef85 (diff)
Use unique_ptr for bs2b
Diffstat (limited to 'Alc/alu.cpp')
-rw-r--r--Alc/alu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alu.cpp b/Alc/alu.cpp
index 9372da85..a8f2f402 100644
--- a/Alc/alu.cpp
+++ b/Alc/alu.cpp
@@ -175,7 +175,7 @@ void ProcessBs2b(ALCdevice *device, ALsizei SamplesToDo)
assert(lidx != -1 && ridx != -1);
/* Apply binaural/crossfeed filter */
- bs2b_cross_feed(device->Bs2b, device->RealOut.Buffer[lidx],
+ bs2b_cross_feed(device->Bs2b.get(), device->RealOut.Buffer[lidx],
device->RealOut.Buffer[ridx], SamplesToDo);
}