18 #ifndef INCLUDE_FILESINKTHREAD_H 19 #define INCLUDE_FILESINKTHREAD_H 23 #include <QWaitCondition> 25 #include <QElapsedTimer> 34 #define FILESINK_THROTTLE_MS 50 83 #endif // INCLUDE_FILESINKTHREAD_H
void setLog2Interpolation(int log2Interpolation)
QWaitCondition m_startWaiter
FileSinkThread(std::ofstream *samplesStream, SampleSourceFifo *sampleFifo, QObject *parent=0)
void setBuffer(std::size_t chunksize)
void setSamplesCount(int samplesCount)
unsigned int m_samplesChunkSize
QElapsedTimer m_elapsedTimer
SampleSourceFifo * m_sampleFifo
std::size_t m_samplesCount
std::size_t getSamplesCount() const
Interpolators< qint16, SDR_TX_SAMP_SZ, 16 > m_interpolators
void connectTimer(const QTimer &timer)
std::ofstream * m_ofstream
void setSamplerate(int samplerate)