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 <bladerf1outputthread.h>
Inherits QThread.
Public Member Functions | |
Bladerf1OutputThread (struct bladerf *dev, SampleSourceFifo *sampleFifo, QObject *parent=NULL) | |
~Bladerf1OutputThread () | |
void | startWork () |
void | stopWork () |
void | setLog2Interpolation (unsigned int log2_interp) |
bool | isRunning () const |
Private Member Functions | |
void | run () |
void | callback (qint16 *buf, qint32 len) |
Private Attributes | |
QMutex | m_startWaitMutex |
QWaitCondition | m_startWaiter |
bool | m_running |
struct bladerf * | m_dev |
qint16 | m_buf [2 *BLADERFOUTPUT_BLOCKSIZE] |
SampleSourceFifo * | m_sampleFifo |
unsigned int | m_log2Interp |
Interpolators< qint16, SDR_TX_SAMP_SZ, 12 > | m_interpolators |
Definition at line 30 of file bladerf1outputthread.h.
Bladerf1OutputThread::Bladerf1OutputThread | ( | struct bladerf * | dev, |
SampleSourceFifo * | sampleFifo, | ||
QObject * | parent = NULL |
||
) |
Definition at line 26 of file bladerf1outputthread.cpp.
References BLADERFOUTPUT_BLOCKSIZE, and m_buf.
Bladerf1OutputThread::~Bladerf1OutputThread | ( | ) |
Definition at line 36 of file bladerf1outputthread.cpp.
References stopWork().
|
private |
Definition at line 83 of file bladerf1outputthread.cpp.
References Interpolators< T, SdrBits, OutputBits >::interpolate1(), Interpolators< T, SdrBits, OutputBits >::interpolate16_cen(), Interpolators< T, SdrBits, OutputBits >::interpolate2_cen(), Interpolators< T, SdrBits, OutputBits >::interpolate32_cen(), Interpolators< T, SdrBits, OutputBits >::interpolate4_cen(), Interpolators< T, SdrBits, OutputBits >::interpolate64_cen(), Interpolators< T, SdrBits, OutputBits >::interpolate8_cen(), m_interpolators, m_log2Interp, m_sampleFifo, and SampleSourceFifo::readAdvance().
Referenced by run().
|
inline |
Definition at line 40 of file bladerf1outputthread.h.
References m_running.
Referenced by Bladerf1Output::applySettings().
|
private |
Definition at line 61 of file bladerf1outputthread.cpp.
References BLADERFOUTPUT_BLOCKSIZE, callback(), m_buf, m_dev, m_running, and m_startWaiter.
void Bladerf1OutputThread::setLog2Interpolation | ( | unsigned int | log2_interp | ) |
Definition at line 56 of file bladerf1outputthread.cpp.
References m_log2Interp.
Referenced by Bladerf1Output::applySettings(), and Bladerf1Output::start().
void Bladerf1OutputThread::startWork | ( | ) |
Definition at line 41 of file bladerf1outputthread.cpp.
References m_running, m_startWaiter, and m_startWaitMutex.
Referenced by Bladerf1Output::applySettings(), and Bladerf1Output::start().
void Bladerf1OutputThread::stopWork | ( | ) |
Definition at line 50 of file bladerf1outputthread.cpp.
References m_running.
Referenced by Bladerf1Output::applySettings(), Bladerf1Output::stop(), and ~Bladerf1OutputThread().
|
private |
Definition at line 48 of file bladerf1outputthread.h.
Referenced by Bladerf1OutputThread(), and run().
|
private |
Definition at line 47 of file bladerf1outputthread.h.
Referenced by run().
|
private |
Definition at line 53 of file bladerf1outputthread.h.
Referenced by callback().
|
private |
Definition at line 51 of file bladerf1outputthread.h.
Referenced by callback(), and setLog2Interpolation().
|
private |
Definition at line 45 of file bladerf1outputthread.h.
Referenced by isRunning(), run(), startWork(), and stopWork().
|
private |
Definition at line 49 of file bladerf1outputthread.h.
Referenced by callback().
|
private |
Definition at line 44 of file bladerf1outputthread.h.
Referenced by run(), and startWork().
|
private |
Definition at line 43 of file bladerf1outputthread.h.
Referenced by startWork().