18 #ifndef INCLUDE_AIRSPYTHREAD_H 19 #define INCLUDE_AIRSPYTHREAD_H 23 #include <QWaitCondition> 24 #include <libairspy/airspy.h> 29 #define AIRSPY_BLOCKSIZE (1<<17) 62 void callback(
const qint16* buf, qint32 len);
63 static int rx_callback(airspy_transfer_t* transfer);
66 #endif // INCLUDE_AIRSPYTHREAD_H std::vector< Sample > SampleVector
qint16 m_buf[2 *AIRSPY_BLOCKSIZE]
static int rx_callback(airspy_transfer_t *transfer)
static AirspyThread * m_this
AirspyThread(struct airspy_device *dev, SampleSinkFifo *sampleFifo, QObject *parent=NULL)
struct airspy_device * m_dev
void callback(const qint16 *buf, qint32 len)
void setLog2Decimation(unsigned int log2_decim)
Decimators< qint32, qint16, SDR_RX_SAMP_SZ, 12 > m_decimators
SampleSinkFifo * m_sampleFifo
SampleVector m_convertBuffer
void setSamplerate(uint32_t samplerate)
QWaitCondition m_startWaiter