18 #ifndef PLUGINS_SAMPLESINK_BLADERF2OUTPUT_BLADERF2OUTPUTTHREAD_H_ 19 #define PLUGINS_SAMPLESINK_BLADERF2OUTPUT_BLADERF2OUTPUTTHREAD_H_ 23 #include <QWaitCondition> 24 #include <libbladeRF.h> 74 void callbackSO(qint16* buf, qint32 len,
unsigned int channel = 0);
75 void callbackMO(qint16* buf, qint32 samplesPerChannel);
void callbackSO(qint16 *buf, qint32 len, unsigned int channel=0)
void callbackMO(qint16 *buf, qint32 samplesPerChannel)
SampleSourceFifo * getFifo(unsigned int channel)
unsigned int getLog2Interpolation(unsigned int channel) const
Channel * m_channels
Array of channels dynamically allocated for the given number of Tx channels.
unsigned int getNbChannels() const
void setFifo(unsigned int channel, SampleSourceFifo *sampleFifo)
BladeRF2OutputThread(struct bladerf *dev, unsigned int nbTxChannels, QObject *parent=0)
unsigned int getNbFifos()
void setLog2Interpolation(unsigned int channel, unsigned int log2_interp)
QWaitCondition m_startWaiter
Interpolators< qint16, SDR_TX_SAMP_SZ, 12 > m_interpolators
unsigned int m_log2Interp
SampleSourceFifo * m_sampleFifo
unsigned int m_nbChannels
qint16 * m_buf
Full buffer for SISO or MIMO operation.