return space as number of bytes

This commit is contained in:
Geoffrey Merck
2020-05-31 22:11:28 +02:00
parent 4f060c0047
commit 2a4b28c35e
+2 -1
View File
@@ -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);
}