31 m_sampleFifo(sampleFifo),
55 qDebug(
"HackRFThread::stopWork");
82 if (hackrf_is_streaming(
m_dev) == HACKRF_TRUE)
84 qDebug(
"HackRFInputThread::run: HackRF is streaming already");
88 qDebug(
"HackRFInputThread::run: HackRF is not streaming");
92 if (rc == HACKRF_SUCCESS)
94 qDebug(
"HackRFInputThread::run: started HackRF Rx");
98 qDebug(
"HackRFInputThread::run: failed to start HackRF Rx: %s", hackrf_error_name(rc));
102 while ((
m_running) && (hackrf_is_streaming(
m_dev) == HACKRF_TRUE))
107 if (hackrf_is_streaming(
m_dev) == HACKRF_TRUE)
109 rc = (hackrf_error) hackrf_stop_rx(
m_dev);
111 if (rc == HACKRF_SUCCESS)
113 qDebug(
"HackRFInputThread::run: stopped HackRF Rx");
117 qDebug(
"HackRFInputThread::run: failed to stop HackRF Rx: %s", hackrf_error_name(rc));
222 qint32 bytes_to_write = transfer->valid_length;
223 thread->
callback((qint8 *) transfer->buffer, bytes_to_write);
void decimate2_inf(SampleVector::iterator *it, const T *buf, qint32 len)
void decimate4_sup_txsync(SampleVector::iterator *it, const T *buf, qint32 len)
void decimate64_cen(SampleVector::iterator *it, const T *buf, qint32 len)
void decimate2_sup(SampleVector::iterator *it, const T *buf, qint32 len)
void decimate64_inf_txsync(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_inf_txsync(SampleVector::iterator *it, const T *buf, qint32 len)
void decimate8_cen(SampleVector::iterator *it, const T *buf, qint32 len)
void decimate8_sup_txsync(SampleVector::iterator *it, const T *buf, qint32 len)
void decimate64_sup_txsync(SampleVector::iterator *it, const T *buf, qint32 len)
void decimate16_inf_txsync(SampleVector::iterator *it, const T *buf, qint32 len)
void decimate4_cen(SampleVector::iterator *it, const T *buf, qint32 len)
void decimate32_sup_txsync(SampleVector::iterator *it, const T *buf, qint32 len)
void decimate16_sup_txsync(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)
void decimate32_inf_txsync(SampleVector::iterator *it, const T *buf, qint32 len)
void decimate4_inf_txsync(SampleVector::iterator *it, const T *buf, qint32 len)