mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 14:04:46 -04:00
SDRdaemon input: use size of Sample instead of literals
This commit is contained in:
@@ -290,7 +290,7 @@ void SDRdaemonSourceUDPHandler::tick()
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user