1
0
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:
f4exb 2016-07-20 08:54:31 +02:00
parent 29240f66dd
commit a0729ce6f5
2 changed files with 12 additions and 3 deletions

View File

@ -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

View File

@ -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