18 #ifndef PLUGINS_SAMPLESINK_SOAPYSDROUTPUT_SOAPYSDROUTPUTTHREAD_H_ 19 #define PLUGINS_SAMPLESINK_SOAPYSDROUTPUT_SOAPYSDROUTPUTTHREAD_H_ 24 #include <QWaitCondition> 26 #include <SoapySDR/Device.hpp> 92 void callbackSO8(qint8* buf, qint32 len,
unsigned int channel = 0);
93 void callbackSO12(qint16* buf, qint32 len,
unsigned int channel = 0);
94 void callbackSO16(qint16* buf, qint32 len,
unsigned int channel = 0);
95 void callbackSOIF(
float* buf, qint32 len,
unsigned int channel = 0);
96 void callbackMO(std::vector<void *>& buffs, qint32 samplesPerChannel);
unsigned int m_sampleRate
unsigned int getLog2Interpolation(unsigned int channel) const
void callbackSO16(qint16 *buf, qint32 len, unsigned int channel=0)
SampleSourceFifo * m_sampleFifo
Interpolators< qint16, SDR_TX_SAMP_SZ, 12 > m_interpolators12
void setSampleRate(unsigned int sampleRate)
QWaitCondition m_startWaiter
unsigned int getNbChannels() const
void callbackSOIF(float *buf, qint32 len, unsigned int channel=0)
unsigned int getNbFifos()
unsigned int m_nbChannels
InterpolatorType m_interpolatorType
Interpolators< qint8, SDR_TX_SAMP_SZ, 8 > m_interpolators8
InterpolatorsIF< SDR_TX_SAMP_SZ, SDR_TX_SAMP_SZ > m_interpolatorsIF
SoapySDROutputThread(SoapySDR::Device *dev, unsigned int nbTxChannels, QObject *parent=0)
Interpolators< qint16, SDR_TX_SAMP_SZ, 16 > m_interpolators16
void setFifo(unsigned int channel, SampleSourceFifo *sampleFifo)
void callbackMO(std::vector< void *> &buffs, qint32 samplesPerChannel)
void callbackSO8(qint8 *buf, qint32 len, unsigned int channel=0)
Channel * m_channels
Array of channels dynamically allocated for the given number of Tx channels.
SampleSourceFifo * getFifo(unsigned int channel)
unsigned int getSampleRate() const
unsigned int m_log2Interp
void callbackSO12(qint16 *buf, qint32 len, unsigned int channel=0)
void setLog2Interpolation(unsigned int channel, unsigned int log2_interp)