diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-02-03 14:47:37 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-02-03 14:47:37 +0100 |
commit | 4ee1e821f2ea6d7cd3c30d6cff2e631bc7f89dfd (patch) | |
tree | d4213454364e5b414e63c2e2671269aefdd5497c /src/DabMultiplexer.cpp | |
parent | 3e5ce23aefb42a07f3b44086fe872f2de54e2804 (diff) | |
download | dabmux-4ee1e821f2ea6d7cd3c30d6cff2e631bc7f89dfd.tar.gz dabmux-4ee1e821f2ea6d7cd3c30d6cff2e631bc7f89dfd.tar.bz2 dabmux-4ee1e821f2ea6d7cd3c30d6cff2e631bc7f89dfd.zip |
Make EDI fragment interleaver less bursty
Diffstat (limited to 'src/DabMultiplexer.cpp')
-rw-r--r-- | src/DabMultiplexer.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/DabMultiplexer.cpp b/src/DabMultiplexer.cpp index 97336d1..a86a1c7 100644 --- a/src/DabMultiplexer.cpp +++ b/src/DabMultiplexer.cpp @@ -716,6 +716,11 @@ void DabMultiplexer::mux_frame(std::vector<std::shared_ptr<DabOutput> >& outputs // Apply PFT layer to AF Packet (Reed Solomon FEC and Fragmentation) vector<edi::PFTFragment> edi_fragments = edi_pft.Assemble(edi_afpacket); + if (edi_conf.verbose) { + fprintf(stderr, "EDI number of PFT fragment before interleaver %zu\n", + edi_fragments.size()); + } + if (edi_conf.interleaver_enabled()) { edi_fragments = edi_interleaver.Interleave(edi_fragments); } |