1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-12 10:48:42 -04:00

SDRDaemonSink: 16/24 bit support (1): works for 16 bit stream

This commit is contained in:
f4exb
2018-09-09 21:26:47 +02:00
parent 5dfc60331c
commit 7158107e58
6 changed files with 22 additions and 14 deletions
@@ -52,6 +52,8 @@ public:
void init()
{
memset((char *) this, 0, sizeof(MetaDataFEC));
m_sampleBits = 16; // assume 16 bits samples to start with
m_sampleBytes = 2;
}
};
@@ -158,8 +160,6 @@ public:
static const int m_udpPayloadSize = SDRDAEMONSOURCE_UDPSIZE;
static const int m_nbOriginalBlocks = SDRDAEMONSOURCE_NBORIGINALBLOCKS;
static const int m_sampleSize;
static const int m_iqSampleSize;
private:
static const int nbDecoderSlots = SDRDAEMONSOURCE_NBDECODERSLOTS;