1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 14:04:46 -04:00

SDRDaemon input: differentiate SDRdaemon samples struct from internal DSP sample struct

This commit is contained in:
f4exb
2018-01-23 00:07:38 +01:00
parent 9bafb2d9b3
commit 4448b57b60
2 changed files with 4 additions and 4 deletions
@@ -55,7 +55,7 @@ public:
}
};
struct Sample
struct SDRdaemonSample
{
int16_t i;
int16_t q;
@@ -68,12 +68,12 @@ public:
uint8_t filler;
};
static const int samplesPerBlock = (SDRDAEMONSOURCE_UDPSIZE - sizeof(Header)) / sizeof(Sample);
static const int samplesPerBlock = (SDRDAEMONSOURCE_UDPSIZE - sizeof(Header)) / sizeof(SDRdaemonSample);
static const int framesSize = SDRDAEMONSOURCE_NBDECODERSLOTS * (SDRDAEMONSOURCE_NBORIGINALBLOCKS - 1) * (SDRDAEMONSOURCE_UDPSIZE - sizeof(Header));
struct ProtectedBlock
{
Sample samples[samplesPerBlock];
SDRdaemonSample samples[samplesPerBlock];
};
struct SuperBlock