aboutsummaryrefslogtreecommitdiffstats
path: root/core/converter.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-09-25 19:55:06 -0700
committerChris Robinson <[email protected]>2023-09-25 19:56:04 -0700
commit3ab2ca28f82073e0baeb25f49163f7353be4b2ca (patch)
tree75eeef2b8421a703b14c1b766f8f20cc54bebca5 /core/converter.h
parent4f596d16cc6a25775438a16b2cdf8367b8342368 (diff)
Constify some pointers to indicate they won't change
Diffstat (limited to 'core/converter.h')
-rw-r--r--core/converter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/converter.h b/core/converter.h
index d811b46b..49ca124d 100644
--- a/core/converter.h
+++ b/core/converter.h
@@ -36,7 +36,7 @@ struct SampleConverter {
SampleConverter(size_t numchans) : mChan{numchans} { }
uint convert(const void **src, uint *srcframes, void *dst, uint dstframes);
- uint convertPlanar(const void **src, uint *srcframes, void **dst, uint dstframes);
+ uint convertPlanar(const void **src, uint *srcframes, void *const*dst, uint dstframes);
uint availableOut(uint srcframes) const;
using SampleOffset = std::chrono::duration<int64_t, std::ratio<1,MixerFracOne>>;