SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <airspythread.h>
Inherits QThread.
Public Member Functions | |
AirspyThread (struct airspy_device *dev, SampleSinkFifo *sampleFifo, QObject *parent=NULL) | |
~AirspyThread () | |
void | startWork () |
void | stopWork () |
void | setSamplerate (uint32_t samplerate) |
void | setLog2Decimation (unsigned int log2_decim) |
void | setFcPos (int fcPos) |
Private Member Functions | |
void | run () |
void | callback (const qint16 *buf, qint32 len) |
Static Private Member Functions | |
static int | rx_callback (airspy_transfer_t *transfer) |
Private Attributes | |
QMutex | m_startWaitMutex |
QWaitCondition | m_startWaiter |
bool | m_running |
struct airspy_device * | m_dev |
qint16 | m_buf [2 *AIRSPY_BLOCKSIZE] |
SampleVector | m_convertBuffer |
SampleSinkFifo * | m_sampleFifo |
int | m_samplerate |
unsigned int | m_log2Decim |
int | m_fcPos |
Decimators< qint32, qint16, SDR_RX_SAMP_SZ, 12 > | m_decimators |
Static Private Attributes | |
static AirspyThread * | m_this = 0 |
Definition at line 31 of file airspythread.h.
AirspyThread::AirspyThread | ( | struct airspy_device * | dev, |
SampleSinkFifo * | sampleFifo, | ||
QObject * | parent = NULL |
||
) |
AirspyThread::~AirspyThread | ( | ) |
Definition at line 42 of file airspythread.cpp.
References m_this, and stopWork().
|
private |
Definition at line 115 of file airspythread.cpp.
References Decimators< StorageType, T, SdrBits, InputBits >::decimate1(), Decimators< StorageType, T, SdrBits, InputBits >::decimate16_cen(), Decimators< StorageType, T, SdrBits, InputBits >::decimate16_inf(), Decimators< StorageType, T, SdrBits, InputBits >::decimate16_sup(), Decimators< StorageType, T, SdrBits, InputBits >::decimate2_cen(), Decimators< StorageType, T, SdrBits, InputBits >::decimate2_inf(), Decimators< StorageType, T, SdrBits, InputBits >::decimate2_sup(), Decimators< StorageType, T, SdrBits, InputBits >::decimate32_cen(), Decimators< StorageType, T, SdrBits, InputBits >::decimate32_inf(), Decimators< StorageType, T, SdrBits, InputBits >::decimate32_sup(), Decimators< StorageType, T, SdrBits, InputBits >::decimate4_cen(), Decimators< StorageType, T, SdrBits, InputBits >::decimate4_inf(), Decimators< StorageType, T, SdrBits, InputBits >::decimate4_sup(), Decimators< StorageType, T, SdrBits, InputBits >::decimate64_cen(), Decimators< StorageType, T, SdrBits, InputBits >::decimate64_inf(), Decimators< StorageType, T, SdrBits, InputBits >::decimate64_sup(), Decimators< StorageType, T, SdrBits, InputBits >::decimate8_cen(), Decimators< StorageType, T, SdrBits, InputBits >::decimate8_inf(), Decimators< StorageType, T, SdrBits, InputBits >::decimate8_sup(), m_convertBuffer, m_decimators, m_fcPos, m_log2Decim, m_sampleFifo, and SampleSinkFifo::write().
Referenced by rx_callback().
|
private |
Definition at line 79 of file airspythread.cpp.
References m_dev, m_running, m_startWaiter, and rx_callback().
|
staticprivate |
Definition at line 209 of file airspythread.cpp.
References callback(), and m_this.
Referenced by run().
void AirspyThread::setFcPos | ( | int | fcPos | ) |
Definition at line 74 of file airspythread.cpp.
References m_fcPos.
Referenced by AirspyInput::applySettings(), and AirspyInput::start().
void AirspyThread::setLog2Decimation | ( | unsigned int | log2_decim | ) |
Definition at line 69 of file airspythread.cpp.
References m_log2Decim.
Referenced by AirspyInput::applySettings(), and AirspyInput::start().
void AirspyThread::setSamplerate | ( | uint32_t | samplerate | ) |
Definition at line 64 of file airspythread.cpp.
References m_samplerate.
Referenced by AirspyInput::applySettings(), and AirspyInput::start().
void AirspyThread::startWork | ( | ) |
Definition at line 48 of file airspythread.cpp.
References m_running, m_startWaiter, and m_startWaitMutex.
Referenced by AirspyInput::start().
void AirspyThread::stopWork | ( | ) |
Definition at line 57 of file airspythread.cpp.
References m_running.
Referenced by AirspyInput::stop(), and ~AirspyThread().
|
private |
Definition at line 50 of file airspythread.h.
Referenced by AirspyThread().
|
private |
Definition at line 51 of file airspythread.h.
Referenced by callback().
|
private |
Definition at line 59 of file airspythread.h.
Referenced by callback().
|
private |
Definition at line 49 of file airspythread.h.
Referenced by run().
|
private |
Definition at line 56 of file airspythread.h.
Referenced by callback(), and setFcPos().
|
private |
Definition at line 55 of file airspythread.h.
Referenced by callback(), and setLog2Decimation().
|
private |
Definition at line 47 of file airspythread.h.
Referenced by run(), startWork(), and stopWork().
|
private |
Definition at line 52 of file airspythread.h.
Referenced by callback().
|
private |
Definition at line 54 of file airspythread.h.
Referenced by setSamplerate().
|
private |
Definition at line 46 of file airspythread.h.
Referenced by run(), and startWork().
|
private |
Definition at line 45 of file airspythread.h.
Referenced by startWork().
|
staticprivate |
Definition at line 57 of file airspythread.h.
Referenced by AirspyThread(), rx_callback(), and ~AirspyThread().