diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-06-05 09:15:56 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-06-05 09:22:22 +0200 |
commit | 71eb84d5f483af8d22402de3d2ec70b08b5802d3 (patch) | |
tree | 589fd978bdc357a0c67179d83c5c04bb0d732082 /src/Buffer.h | |
parent | c9ea7fb88809d935f3eaeee108415ff5abd17ead (diff) | |
download | dabmod-71eb84d5f483af8d22402de3d2ec70b08b5802d3.tar.gz dabmod-71eb84d5f483af8d22402de3d2ec70b08b5802d3.tar.bz2 dabmod-71eb84d5f483af8d22402de3d2ec70b08b5802d3.zip |
Fix intermittent underruns after a restart
When using UHD without synchronous=1:
After a modulator restart, the input ZMQ buffer is nearly empty, and
the modulator actually gets blocked by the ThreadsafeQueue. This is
visible by looking at the time deltas printed in the debugging code.
This commit adds a minimal form of prebuffering (10 ETI frames) to the
ZeroMQ input, and removes the useless minimum required size for the
ThreadsafeQueue.
In synchronous=1, the issue is not visible because the TIST defines the
time to transmit, which will cause the ZMQ buffer to fill.
Diffstat (limited to 'src/Buffer.h')
0 files changed, 0 insertions, 0 deletions