mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-04 16:01:14 -05:00
SDRdaemon input: use size of Sample instead of literals
This commit is contained in:
parent
3106faec8e
commit
810ca8b057
@ -290,7 +290,7 @@ void SDRdaemonSourceUDPHandler::tick()
|
|||||||
m_converterBuffer[2*is+1]<<=8;
|
m_converterBuffer[2*is+1]<<=8;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_sampleFifo->write(reinterpret_cast<quint8*>(m_converterBuffer), m_readLengthSamples*4*2);
|
m_sampleFifo->write(reinterpret_cast<quint8*>(m_converterBuffer), m_readLengthSamples*sizeof(Sample));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_tickCount < m_rateDivider)
|
if (m_tickCount < m_rateDivider)
|
||||||
|
Loading…
Reference in New Issue
Block a user