diff options
author | Chris Robinson <[email protected]> | 2020-11-28 03:38:20 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-11-28 03:38:20 -0800 |
commit | 8750810f5cfceeffd5acf2f21e779d470d0dc88b (patch) | |
tree | 447b24c8d1b3ab926f2aa2ae40617938df1e9bb1 /al | |
parent | eb9b9fb4e59cadc308b8ebcdf3da59a961382224 (diff) |
Change a couple macros into constexpr variables
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; |