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

RTL-SDR: corrected bit shifts for 8 bit samples and corrected RTL-SDR unsigned to signed conversion

This commit is contained in:
f4exb
2018-01-15 23:37:26 +01:00
parent 39b20bb71f
commit 18fa3b6156
3 changed files with 14 additions and 11 deletions
+2 -2
View File
@@ -52,10 +52,10 @@ private:
unsigned int m_log2Decim;
int m_fcPos;
Decimators<quint8, SDR_SAMP_SZ, 8> m_decimators;
Decimators<qint8, SDR_SAMP_SZ, 8> m_decimators;
void run();
void callback(const quint8* buf, qint32 len);
void callback(const qint8* buf, qint32 len);
static void callbackHelper(unsigned char* buf, uint32_t len, void* ctx);
};