summaryrefslogtreecommitdiffstats
path: root/src/DabMultiplexer.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-12-24 11:11:42 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-12-24 11:11:42 +0100
commitc76de2b69d2fce16e6ccb2e2ef5ee5e858f84e5b (patch)
tree4f4938f831fac5c65ab57b5abcac11f152d3af59 /src/DabMultiplexer.cpp
parente1acfdd90d331e032170fba70a73a0588d6121cc (diff)
downloaddabmux-c76de2b69d2fce16e6ccb2e2ef5ee5e858f84e5b.tar.gz
dabmux-c76de2b69d2fce16e6ccb2e2ef5ee5e858f84e5b.tar.bz2
dabmux-c76de2b69d2fce16e6ccb2e2ef5ee5e858f84e5b.zip
Move fragments into interleaver instead of copying them
Diffstat (limited to 'src/DabMultiplexer.cpp')
-rw-r--r--src/DabMultiplexer.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/DabMultiplexer.cpp b/src/DabMultiplexer.cpp
index 6d3a51e..b5f1933 100644
--- a/src/DabMultiplexer.cpp
+++ b/src/DabMultiplexer.cpp
@@ -714,9 +714,7 @@ void DabMultiplexer::mux_frame(std::vector<std::shared_ptr<DabOutput> >& outputs
vector<edi::PFTFragment> edi_fragments = edi_pft.Assemble(edi_afpacket);
if (edi_conf.interleaver_enabled()) {
- edi_interleaver.PushFragments(edi_fragments);
-
- edi_fragments = edi_interleaver.Interleave();
+ edi_fragments = edi_interleaver.Interleave(edi_fragments);
}
// Send over ethernet