18 #ifndef PLUGINS_SAMPLESOURCE_XTRXOUTPUT_XTRXOUTPUTTHREAD_H_ 19 #define PLUGINS_SAMPLESOURCE_XTRXOUTPUT_XTRXOUTPUTTHREAD_H_ 23 #include <QWaitCondition> 38 XTRXOutputThread(
struct xtrx_dev *dev,
unsigned int nbChannels,
unsigned int uniqueChannelIndex = 0, QObject* parent = 0);
77 void callback(qint16* buf, qint32 len);
79 void callbackMO(qint16* buf0, qint16* buf1, qint32 len);
unsigned int getLog2Interpolation(unsigned int channel) const
void callbackSO(qint16 *buf, qint32 len)
unsigned int m_nbChannels
Channel * m_channels
Array of channels dynamically allocated for the given number of Rx channels.
void callback(qint16 *buf, qint32 len)
SampleSourceFifo * getFifo(unsigned int channel)
void setFifo(unsigned int channel, SampleSourceFifo *sampleFifo)
XTRXOutputThread(struct xtrx_dev *dev, unsigned int nbChannels, unsigned int uniqueChannelIndex=0, QObject *parent=0)
unsigned int getNbChannels() const
SampleSourceFifo * m_sampleFifo
Interpolators< qint16, SDR_TX_SAMP_SZ, 12 > m_interpolators
unsigned int getNbFifos()
unsigned int m_uniqueChannelIndex
void callbackMO(qint16 *buf0, qint16 *buf1, qint32 len)
void setLog2Interpolation(unsigned int channel, unsigned int log2_interp)
unsigned int m_log2Interp
QWaitCondition m_startWaiter