mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-23 18:52:28 -04:00
HackRF output plugin: resize sample FIFO to 500ms
This commit is contained in:
parent
0ad22f3cd4
commit
f386fc86cb
@ -75,7 +75,7 @@ bool HackRFOutput::start(int device)
|
|||||||
// qCritical("HackRFInput::start: failed to initiate HackRF library %s", hackrf_error_name(rc));
|
// 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)
|
if (m_deviceAPI->getSourceBuddies().size() > 0)
|
||||||
{
|
{
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#include "dsp/samplesourcefifo.h"
|
#include "dsp/samplesourcefifo.h"
|
||||||
#include "dsp/interpolators.h"
|
#include "dsp/interpolators.h"
|
||||||
|
|
||||||
#define HACKRF_BLOCKSIZE (1<<18)
|
#define HACKRF_BLOCKSIZE (1<<17)
|
||||||
|
|
||||||
class HackRFOutputThread : public QThread {
|
class HackRFOutputThread : public QThread {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user