33 m_sampleFifo(sampleFifo),
59 qDebug(
"AirspyThread::stopWork");
88 if (rc != AIRSPY_SUCCESS)
90 qCritical(
"AirspyThread::run: failed to start Airspy Rx: %s", airspy_error_name(rc));
100 rc = (airspy_error) airspy_stop_rx(
m_dev);
102 if (rc == AIRSPY_SUCCESS)
104 qDebug(
"AirspyThread::run: stopped Airspy Rx");
108 qDebug(
"AirspyThread::run: failed to stop Airspy Rx: %s", airspy_error_name(rc));
211 qint32 bytes_to_write = transfer->sample_count *
sizeof(qint16);
void decimate2_inf(SampleVector::iterator *it, const T *buf, qint32 len)
void decimate64_sup(SampleVector::iterator *it, const T *buf, qint32 len)
qint16 m_buf[2 *AIRSPY_BLOCKSIZE]
void decimate64_cen(SampleVector::iterator *it, const T *buf, qint32 len)
void decimate2_sup(SampleVector::iterator *it, const T *buf, qint32 len)
void decimate2_cen(SampleVector::iterator *it, const T *buf, qint32 len)
uint write(const quint8 *data, uint count)
void decimate8_sup(SampleVector::iterator *it, const T *buf, qint32 len)
static int rx_callback(airspy_transfer_t *transfer)
static AirspyThread * m_this
AirspyThread(struct airspy_device *dev, SampleSinkFifo *sampleFifo, QObject *parent=NULL)
void decimate64_inf(SampleVector::iterator *it, const T *buf, qint32 len)
void decimate32_inf(SampleVector::iterator *it, const T *buf, qint32 len)
struct airspy_device * m_dev
void decimate32_sup(SampleVector::iterator *it, const T *buf, qint32 len)
void callback(const qint16 *buf, qint32 len)
void decimate4_sup(SampleVector::iterator *it, const T *buf, qint32 len)
void decimate8_cen(SampleVector::iterator *it, const T *buf, qint32 len)
void decimate8_inf(SampleVector::iterator *it, const T *buf, qint32 len)
void decimate16_sup(SampleVector::iterator *it, const T *buf, qint32 len)
void setLog2Decimation(unsigned int log2_decim)
Decimators< qint32, qint16, SDR_RX_SAMP_SZ, 12 > m_decimators
void decimate4_cen(SampleVector::iterator *it, const T *buf, qint32 len)
SampleSinkFifo * m_sampleFifo
SampleVector m_convertBuffer
void decimate4_inf(SampleVector::iterator *it, const T *buf, qint32 len)
void setSamplerate(uint32_t samplerate)
QWaitCondition m_startWaiter
void decimate16_inf(SampleVector::iterator *it, const T *buf, qint32 len)
void decimate16_cen(SampleVector::iterator *it, const T *buf, qint32 len)
void decimate32_cen(SampleVector::iterator *it, const T *buf, qint32 len)
void decimate1(SampleVector::iterator *it, const T *buf, qint32 len)