diff options
author | Chris Robinson <[email protected]> | 2023-09-25 19:55:06 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-09-25 19:56:04 -0700 |
commit | 3ab2ca28f82073e0baeb25f49163f7353be4b2ca (patch) | |
tree | 75eeef2b8421a703b14c1b766f8f20cc54bebca5 /alc | |
parent | 4f596d16cc6a25775438a16b2cdf8367b8342368 (diff) |
Constify some pointers to indicate they won't change
Diffstat (limited to 'alc')
-rw-r--r-- | alc/backends/wasapi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/backends/wasapi.cpp b/alc/backends/wasapi.cpp index e26af7c9..7eae84c1 100644 --- a/alc/backends/wasapi.cpp +++ b/alc/backends/wasapi.cpp @@ -1298,7 +1298,7 @@ FORCE_ALIGN int WasapiPlayback::mixerSpatialProc() } const uint got{mResampler->convertPlanar(tmpbuffers.data(), &mBufferFilled, - reinterpret_cast<void**>(buffers.data()), framesToDo-pos)}; + reinterpret_cast<void*const*>(buffers.data()), framesToDo-pos)}; for(auto &buf : buffers) buf += got; pos += got; |