return space as number of bytes

This commit is contained in:
Geoffrey Merck 2020-05-31 21:50:39 +02:00
parent 4f060c0047
commit 2a4b28c35e
1 changed files with 2 additions and 1 deletions

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);
}