mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-19 06:41:47 -05:00
SDRdaemonFEC: debug FEC (1)
This commit is contained in:
parent
29240f66dd
commit
a0729ce6f5
@ -271,7 +271,16 @@ void SDRdaemonFECBuffer::writeData(char *array, uint32_t length)
|
|||||||
m_decoderSlots[decoderIndex].m_metaRetrieved = true;
|
m_decoderSlots[decoderIndex].m_metaRetrieved = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
qDebug() << "SDRdaemonFECBuffer::writeData: recovered block #" << blockIndex;
|
qDebug() << "SDRdaemonFECBuffer::writeData: recovered block #" << blockIndex
|
||||||
|
<< " i[0]: " << m_decoderSlots[decoderIndex].m_recoveryBlocks[ir].samples[0].i
|
||||||
|
<< " q[0]: " << m_decoderSlots[decoderIndex].m_recoveryBlocks[ir].samples[0].q
|
||||||
|
<< " i[1]: " << m_decoderSlots[decoderIndex].m_recoveryBlocks[ir].samples[1].i
|
||||||
|
<< " q[1]: " << m_decoderSlots[decoderIndex].m_recoveryBlocks[ir].samples[1].q
|
||||||
|
<< " i[2]: " << m_decoderSlots[decoderIndex].m_recoveryBlocks[ir].samples[2].i
|
||||||
|
<< " q[2]: " << m_decoderSlots[decoderIndex].m_recoveryBlocks[ir].samples[2].q;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
} // restore missing blocks
|
} // restore missing blocks
|
||||||
} // CM256 decode
|
} // CM256 decode
|
||||||
} // revovery
|
} // revovery
|
||||||
|
@ -56,8 +56,8 @@ public:
|
|||||||
|
|
||||||
struct Sample
|
struct Sample
|
||||||
{
|
{
|
||||||
uint16_t i;
|
int16_t i;
|
||||||
uint16_t q;
|
int16_t q;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct Header
|
struct Header
|
||||||
|
Loading…
Reference in New Issue
Block a user