32 m_sampleFifo(sampleFifo),
57 qDebug(
"AirspyThread::stopWork");
81 if (rc != AIRSPYHF_SUCCESS)
83 qCritical(
"AirspyHFFThread::run: failed to start Airspy HF Rx");
93 rc = (airspyhf_error) airspyhf_stop(
m_dev);
95 if (rc == AIRSPYHF_SUCCESS) {
96 qDebug(
"AirspyHFFThread::run: stopped Airspy HF Rx");
98 qDebug(
"AirspyHFFThread::run: failed to stop Airspy HF Rx");
142 qint32 nbIAndQ = transfer->sample_count * 2;
#define AIRSPYHF_BLOCKSIZE
void decimate32_cen(SampleVector::iterator *it, const float *buf, qint32 nbIAndQ)
void setLog2Decimation(unsigned int log2_decim)
uint write(const quint8 *data, uint count)
QWaitCondition m_startWaiter
qint16 m_buf[2 *AIRSPYHF_BLOCKSIZE]
void setSamplerate(uint32_t samplerate)
void decimate16_cen(SampleVector::iterator *it, const float *buf, qint32 nbIAndQ)
void decimate2_cen(SampleVector::iterator *it, const float *buf, qint32 nbIAndQ)
void decimate4_cen(SampleVector::iterator *it, const float *buf, qint32 nbIAndQ)
void callback(const float *buf, qint32 len)
void decimate8_cen(SampleVector::iterator *it, const float *buf, qint32 nbIAndQ)
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
void decimate64_cen(SampleVector::iterator *it, const float *buf, qint32 nbIAndQ)
void decimate1(SampleVector::iterator *it, const float *buf, qint32 nbIAndQ)