From 2a4b28c35e225c26ddedaf5cff0f90aa21b6819f Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Sun, 31 May 2020 21:50:39 +0200 Subject: [PATCH] return space as number of bytes --- FMUpSampler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FMUpSampler.cpp b/FMUpSampler.cpp index 04fe705..80cba37 100644 --- a/FMUpSampler.cpp +++ b/FMUpSampler.cpp @@ -92,5 +92,6 @@ bool CFMUpSampler::getSample(q15_t& sample) uint16_t CFMUpSampler::getSpace() const { - return m_samples.getSpace(); + //return available space in bytes + return m_samples.getSpace() * sizeof(TSamplePairPack); } \ No newline at end of file