18 #ifndef INCLUDE_AIRSPYHFTHREAD_H 19 #define INCLUDE_AIRSPYHFTHREAD_H 24 #include <QWaitCondition> 25 #include <libairspyhf/airspyhf.h> 29 #define AIRSPYHF_BLOCKSIZE (1<<17) 60 void callback(
const float* buf, qint32 len);
61 static int rx_callback(airspyhf_transfer_t* transfer);
64 #endif // INCLUDE_AIRSPYHFTHREAD_H std::vector< Sample > SampleVector
#define AIRSPYHF_BLOCKSIZE
void setLog2Decimation(unsigned int log2_decim)
QWaitCondition m_startWaiter
qint16 m_buf[2 *AIRSPYHF_BLOCKSIZE]
void setSamplerate(uint32_t samplerate)
void callback(const float *buf, qint32 len)
DecimatorsFI m_decimators
static int rx_callback(airspyhf_transfer_t *transfer)
SampleVector m_convertBuffer
static AirspyHFThread * m_this
SampleSinkFifo * m_sampleFifo
AirspyHFThread(airspyhf_device_t *dev, SampleSinkFifo *sampleFifo, QObject *parent=0)
airspyhf_device_t * m_dev