summaryrefslogtreecommitdiffstats
path: root/src/dabOutput/edi/Interleaver.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-02-03 14:21:45 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-02-03 14:21:45 +0100
commit3e5ce23aefb42a07f3b44086fe872f2de54e2804 (patch)
tree39a724907505134abb3331741b2038729eaaca96 /src/dabOutput/edi/Interleaver.h
parente010d6a4e8342cf3042fb96a94ef3df766eeda3d (diff)
downloaddabmux-3e5ce23aefb42a07f3b44086fe872f2de54e2804.tar.gz
dabmux-3e5ce23aefb42a07f3b44086fe872f2de54e2804.tar.bz2
dabmux-3e5ce23aefb42a07f3b44086fe872f2de54e2804.zip
Do not lose fragments in EDI interleaver
Diffstat (limited to 'src/dabOutput/edi/Interleaver.h')
-rw-r--r--src/dabOutput/edi/Interleaver.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dabOutput/edi/Interleaver.h b/src/dabOutput/edi/Interleaver.h
index 51a584f..f94219e 100644
--- a/src/dabOutput/edi/Interleaver.h
+++ b/src/dabOutput/edi/Interleaver.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2016
+ Copyright (C) 2017
Matthias P. Braendli, matthias.braendli@mpb.li
http://www.opendigitalradio.org
@@ -61,6 +61,8 @@ class Interleaver {
size_t m_fragment_count = 0;
size_t m_interleave_offset = 0;
size_t m_stride = 0;
+
+ /* Buffer that accumulates enough fragments to interleave */
std::deque<fragment_vec> m_buffer;
};