diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-03-24 10:31:24 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-03-24 10:31:24 +0100 |
commit | ed8e8bed00d5ad47a9d4798059fd0e3a8c3f7b8c (patch) | |
tree | 1ad0ca394f2be41b1098c971906298c790617751 /src/output/SDR.cpp | |
parent | 4b3465e0a9e79f18398819f3bd0957efc9952928 (diff) | |
download | dabmod-ed8e8bed00d5ad47a9d4798059fd0e3a8c3f7b8c.tar.gz dabmod-ed8e8bed00d5ad47a9d4798059fd0e3a8c3f7b8c.tar.bz2 dabmod-ed8e8bed00d5ad47a9d4798059fd0e3a8c3f7b8c.zip |
Fix startup hiccup due to iio buffer allocation taking several seconds
Diffstat (limited to 'src/output/SDR.cpp')
-rw-r--r-- | src/output/SDR.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/SDR.cpp b/src/output/SDR.cpp index e22617e..f53197e 100644 --- a/src/output/SDR.cpp +++ b/src/output/SDR.cpp @@ -165,7 +165,7 @@ meta_vec_t SDR::process_metadata(const meta_vec_t& metadataIn) const auto max_size = m_config.enableSync ? - (frame.ts.timestamp_offset * 4.0) / frame_duration_s + (frame.ts.timestamp_offset * 400.0) / frame_duration_s : FRAMES_MAX_SIZE; auto r = m_queue.push_overflow(std::move(frame), max_size); |