aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--al/buffer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/al/buffer.cpp b/al/buffer.cpp
index 9b455b9c..d427f214 100644
--- a/al/buffer.cpp
+++ b/al/buffer.cpp
@@ -631,6 +631,9 @@ void LoadData(ALCcontext *context, ALbuffer *ALBuf, ALsizei freq, ALuint size,
}
newdata.swap(ALBuf->mData);
}
+#ifdef ALSOFT_EAX
+ eax_x_ram_clear(*context->mALDevice, *ALBuf);
+#endif
if(SrcType == UserFmtIMA4)
{