mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-10-15 08:14:12 +02:00
return space as number of bytes
This commit is contained in:
+2
-1
@@ -92,5 +92,6 @@ bool CFMUpSampler::getSample(q15_t& sample)
|
|||||||
|
|
||||||
uint16_t CFMUpSampler::getSpace() const
|
uint16_t CFMUpSampler::getSpace() const
|
||||||
{
|
{
|
||||||
return m_samples.getSpace();
|
//return available space in bytes
|
||||||
|
return m_samples.getSpace() * sizeof(TSamplePairPack);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user