18 #ifndef PLUGINS_SAMPLESOURCE_PLUTOSDROUTPUT_PLUTOSDROUTPUTTHREAD_H_ 19 #define PLUGINS_SAMPLESOURCE_PLUTOSDROUTPUT_PLUTOSDROUTPUTTHREAD_H_ 23 #include <QWaitCondition> 61 void convert(qint16* buf, qint32 len);
DevicePlutoSDRBox * m_plutoBox
int16_t * m_buf
holds I+Q values of each sample from devce
PlutoSDROutputThread(uint32_t blocksize, DevicePlutoSDRBox *plutoBox, SampleSourceFifo *sampleFifo, QObject *parent=0)
uint32_t m_blockSizeSamples
buffer sizes in number of (I,Q) samples
unsigned int m_log2Interp
virtual void setDeviceSampleRate(int sampleRate)
SampleSourceFifo * m_sampleFifo
DSP sample FIFO (I,Q)
Interpolators< qint16, SDR_TX_SAMP_SZ, 16 > m_interpolators
Pluto is on 12 bit but iio_channel_convert_inverse converts from 16 to 12 bits.
void convert(qint16 *buf, qint32 len)
QWaitCondition m_startWaiter
void setLog2Interpolation(unsigned int log2_interp)