mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
SDRdaemonFEC support. new simplified write method
This commit is contained in:
@@ -92,10 +92,12 @@ public:
|
||||
|
||||
// R/W operations
|
||||
void writeData(char *array, uint32_t length); //!< Write data into buffer.
|
||||
void writeData0(char *array, uint32_t length); //!< Write data into buffer.
|
||||
uint8_t *readData(int32_t length); //!< Read data from buffer
|
||||
|
||||
// meta data
|
||||
const MetaDataFEC& getCurrentMeta() const { return m_currentMeta; }
|
||||
const MetaDataFEC& getOutputMeta() const { return m_outputMeta; }
|
||||
|
||||
// stats
|
||||
int getCurNbBlocks() const { return m_curNbBlocks; }
|
||||
@@ -155,6 +157,7 @@ private:
|
||||
};
|
||||
|
||||
MetaDataFEC m_currentMeta; //!< Stored current meta data
|
||||
MetaDataFEC m_outputMeta; //!< Meta data corresponding to currently served frame
|
||||
cm256_encoder_params m_paramsCM256; //!< CM256 decoder parameters block
|
||||
DecoderSlot m_decoderSlots[nbDecoderSlots]; //!< CM256 decoding control/buffer slots
|
||||
BufferFrame m_frames[nbDecoderSlots]; //!< Samples buffer
|
||||
|
||||
Reference in New Issue
Block a user