18 #ifndef PLUGINS_SAMPLESOURCE_SDRPLAY_SDRPLAYTHREAD_H_ 19 #define PLUGINS_SAMPLESOURCE_SDRPLAY_SDRPLAYTHREAD_H_ 23 #include <QWaitCondition> 28 #define SDRPLAY_INIT_NBSAMPLES (1<<14) 59 void callback(
const qint16* buf, qint32 len);
void setSamplerate(int samplerate)
std::vector< Sample > SampleVector
QWaitCondition m_startWaiter
void setLog2Decimation(unsigned int log2_decim)
SDRPlayThread(mirisdr_dev_t *dev, SampleSinkFifo *sampleFifo, QObject *parent=NULL)
SampleVector m_convertBuffer
SampleSinkFifo * m_sampleFifo
void callback(const qint16 *buf, qint32 len)
static void callbackHelper(unsigned char *buf, uint32_t len, void *ctx)
Decimators< qint32, qint16, SDR_RX_SAMP_SZ, 12 > m_decimators