HackRF output plugin: resize sample FIFO to 500ms

This commit is contained in:
f4exb 2017-01-08 22:30:11 +01:00
parent 0ad22f3cd4
commit f386fc86cb
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ bool HackRFOutput::start(int device)
// qCritical("HackRFInput::start: failed to initiate HackRF library %s", hackrf_error_name(rc));
// }
m_sampleSourceFifo.resize(m_settings.m_devSampleRate); // 1s long
m_sampleSourceFifo.resize(m_settings.m_devSampleRate/2); // 500ms long
if (m_deviceAPI->getSourceBuddies().size() > 0)
{

View File

@ -25,7 +25,7 @@
#include "dsp/samplesourcefifo.h"
#include "dsp/interpolators.h"
#define HACKRF_BLOCKSIZE (1<<18)
#define HACKRF_BLOCKSIZE (1<<17)
class HackRFOutputThread : public QThread {
Q_OBJECT