diff options
| author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2021-02-24 10:23:55 +0100 | 
|---|---|---|
| committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2021-02-24 10:23:55 +0100 | 
| commit | cdeded18deb9ef2a12bf5206757f235e3925c848 (patch) | |
| tree | d704e6cf917fb4b9d77343305155db918da8395e /lib/edioutput/EDIConfig.h | |
| parent | 4516c0079dabc46d6787eeb037fd7b054ce8c81b (diff) | |
| download | ODR-SourceCompanion-cdeded18deb9ef2a12bf5206757f235e3925c848.tar.gz ODR-SourceCompanion-cdeded18deb9ef2a12bf5206757f235e3925c848.tar.bz2 ODR-SourceCompanion-cdeded18deb9ef2a12bf5206757f235e3925c848.zip | |
Common fc2902b and 4ad00b8: Update EDI output interleaver and spreading
Diffstat (limited to 'lib/edioutput/EDIConfig.h')
| -rw-r--r-- | lib/edioutput/EDIConfig.h | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/lib/edioutput/EDIConfig.h b/lib/edioutput/EDIConfig.h index 647d77e..be6c9c4 100644 --- a/lib/edioutput/EDIConfig.h +++ b/lib/edioutput/EDIConfig.h @@ -71,10 +71,11 @@ struct configuration_t {      bool enable_pft    = false;      // Enable protection and fragmentation      unsigned int tagpacket_alignment = 0;      std::vector<std::shared_ptr<destination_t> > destinations; -    unsigned int latency_frames = 0; // if nonzero, enable interleaver with a latency of latency_frames * 24ms +    double fragment_spreading_factor = 0.95; +    // Spread transmission of fragments in time. 1.0 = 100% means spreading over the whole duration of a frame (24ms) +    // Above 100% means that the fragments are spread over several 24ms periods, interleaving the AF packets.      bool enabled() const { return destinations.size() > 0; } -    bool interleaver_enabled() const { return latency_frames > 0; }      void print() const;  }; | 
