aboutsummaryrefslogtreecommitdiffstats
path: root/core/converter.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-09-21 09:06:48 -0700
committerChris Robinson <[email protected]>2023-09-21 09:06:48 -0700
commitbf30af18960ec1443bd166bf145e632570bd9072 (patch)
tree9c6f668ed88a0670f15d978b3c7768ee84498cba /core/converter.h
parent36de3493c1c2fcab966d72c73520e625da1f1e31 (diff)
Add a SampleConverter method to convert planar buffer lines
Diffstat (limited to 'core/converter.h')
-rw-r--r--core/converter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/converter.h b/core/converter.h
index 01becea2..d811b46b 100644
--- a/core/converter.h
+++ b/core/converter.h
@@ -36,6 +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 availableOut(uint srcframes) const;
using SampleOffset = std::chrono::duration<int64_t, std::ratio<1,MixerFracOne>>;