diff --git a/Readme.md b/Readme.md index 3ee82d939..0b5f2e422 100644 --- a/Readme.md +++ b/Readme.md @@ -109,8 +109,12 @@ Note that this plugin does not require any of the hardware support libraries nor

SDRdaemon input

+Warning: this is experimental and not fully debugged yet. + This is the client side of the SDRdaemon server. See the [SDRdaemon](https://github.com/f4exb/sdrdaemon) project in this Github repository. You must specify the address and UDP port to which the server connects and samples will flow into the SDRangel application (default is `127.0.0.1`port `9090`). It uses the meta data to retrieve the sample flow characteristics such as sample rate and receiveng center frequency. +There is an automated skew rate compensation in place. During rate readjustemnt streaming is suspended for about one second. + Note that this plugin does not require any of the hardware support libraries nor the libusb library. It is alwasys available in the list of devices as `SDRdaemon[0]` even if no physical device is connected.

Software build

diff --git a/plugins/samplesource/sdrdaemon/sdrdaemonbuffer.cpp b/plugins/samplesource/sdrdaemon/sdrdaemonbuffer.cpp index e05811d57..5804f806e 100644 --- a/plugins/samplesource/sdrdaemon/sdrdaemonbuffer.cpp +++ b/plugins/samplesource/sdrdaemon/sdrdaemonbuffer.cpp @@ -271,10 +271,10 @@ uint8_t *SDRdaemonBuffer::readDataChunk() if (m_readCycles && ((m_writeIndex < m_rawSize / 10) || (m_rawSize - m_writeIndex < m_rawSize / 10))) { m_skewRate = m_skewRateSum / m_readCycles; - if (m_skewRate > 0.04) { - m_skewRate = 0.04; - } else if (m_skewRate < -0.04) { - m_skewRate = -0.04; + if (m_skewRate > 0.2) { + m_skewRate = 0.2; + } else if (m_skewRate < -0.2) { + m_skewRate = -0.2; } qDebug("SDRdaemonBuffer::readDataChunk: m_skewRate: %lf", m_skewRate); }