diff options
| author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2022-08-22 17:16:30 +0200 |
|---|---|---|
| committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2022-08-22 17:16:30 +0200 |
| commit | c4ca7f8b4492242f9497a478089af1dd43a522b1 (patch) | |
| tree | b82eb1ed0656bfb3f8f30a9aa67f124814a2375c /lib/edioutput/EDIConfig.h | |
| parent | 8fcd25916e7eb35aee322a4bcb0cc95bd1b54b5c (diff) | |
| download | ODR-SourceCompanion-c4ca7f8b4492242f9497a478089af1dd43a522b1.tar.gz ODR-SourceCompanion-c4ca7f8b4492242f9497a478089af1dd43a522b1.tar.bz2 ODR-SourceCompanion-c4ca7f8b4492242f9497a478089af1dd43a522b1.zip | |
Common 306b5fc: Move tcp_server_preroll setting to tcp_server_t
Diffstat (limited to 'lib/edioutput/EDIConfig.h')
| -rw-r--r-- | lib/edioutput/EDIConfig.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/edioutput/EDIConfig.h b/lib/edioutput/EDIConfig.h index a7225a7..1997210 100644 --- a/lib/edioutput/EDIConfig.h +++ b/lib/edioutput/EDIConfig.h @@ -53,6 +53,9 @@ struct udp_destination_t : public destination_t { struct tcp_server_t : public destination_t { unsigned int listen_port = 0; size_t max_frames_queued = 1024; + + // The TCP Server output can preroll a fixed number of previous buffers each time a new client connects. + size_t tcp_server_preroll_buffers = 0; }; // TCP client that connects to one endpoint @@ -74,9 +77,6 @@ struct configuration_t { // 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. - // TCP Server output can preroll a fixed number of previous buffers each time a new client connects. - size_t tcp_server_preroll_buffers = 0; - bool enabled() const { return destinations.size() > 0; } void print() const; |
