aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/alc.cpp')
-rw-r--r--alc/alc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp
index cd2911f5..bee42fc5 100644
--- a/alc/alc.cpp
+++ b/alc/alc.cpp
@@ -1853,6 +1853,8 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
device->Limiter = nullptr;
device->ChannelDelay.clear();
+ std::fill(std::begin(device->HrtfAccumData), std::end(device->HrtfAccumData), float2{});
+
device->Dry.AmbiMap.fill(BFChannelConfig{});
device->Dry.Buffer = {};
std::fill(std::begin(device->NumChannelsPerOrder), std::end(device->NumChannelsPerOrder), 0u);