diff options
Diffstat (limited to 'al')
-rw-r--r-- | al/buffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/al/buffer.cpp b/al/buffer.cpp index 8591e957..0ee6b808 100644 --- a/al/buffer.cpp +++ b/al/buffer.cpp @@ -645,7 +645,7 @@ void PrepareCallback(ALCcontext *context, ALbuffer *ALBuf, ALsizei freq, ALBuf->UnpackAmbiOrder : 0}; al::vector<al::byte,16>(FrameSizeFromFmt(DstChannels, DstType, ambiorder) * - size_t{BUFFERSIZE + (MAX_RESAMPLER_PADDING>>1)}).swap(ALBuf->mData); + size_t{BufferLineSize + (MaxResamplerPadding>>1)}).swap(ALBuf->mData); ALBuf->mCallback = callback; ALBuf->mUserData = userptr; |