diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2021-02-24 09:50:03 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2021-02-24 09:50:03 +0100 |
commit | 353e00a8027599124125a314a95ed7a735c30388 (patch) | |
tree | 3469bdfe8baa085b5b85a4e1309a190aa2cf96fe /contrib/edioutput/EDIConfig.h | |
parent | cb5100462f22e5575da3486f8b9735556b2c85e2 (diff) | |
download | ODR-AudioEnc-353e00a8027599124125a314a95ed7a735c30388.tar.gz ODR-AudioEnc-353e00a8027599124125a314a95ed7a735c30388.tar.bz2 ODR-AudioEnc-353e00a8027599124125a314a95ed7a735c30388.zip |
Common fc2902b and 4ad00b8: Update EDI output interleaver and spreading
Diffstat (limited to 'contrib/edioutput/EDIConfig.h')
-rw-r--r-- | contrib/edioutput/EDIConfig.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/edioutput/EDIConfig.h b/contrib/edioutput/EDIConfig.h index 647d77e..be6c9c4 100644 --- a/contrib/edioutput/EDIConfig.h +++ b/contrib/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; }; |