summaryrefslogtreecommitdiffstats
path: root/contrib/edioutput/EDIConfig.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2022-08-22 17:16:20 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2022-08-22 17:16:20 +0200
commit7544d1eca9f33f450d2bf3e36b9df298cd7c23d9 (patch)
treeb9a31156af4a3ff835a114513cec8ae404a3301d /contrib/edioutput/EDIConfig.h
parentba05fa20365b26d1e0519220abf4d84319b5408e (diff)
downloadODR-AudioEnc-7544d1eca9f33f450d2bf3e36b9df298cd7c23d9.tar.gz
ODR-AudioEnc-7544d1eca9f33f450d2bf3e36b9df298cd7c23d9.tar.bz2
ODR-AudioEnc-7544d1eca9f33f450d2bf3e36b9df298cd7c23d9.zip
Common 306b5fc: Move tcp_server_preroll setting to tcp_server_t
Diffstat (limited to 'contrib/edioutput/EDIConfig.h')
-rw-r--r--contrib/edioutput/EDIConfig.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/edioutput/EDIConfig.h b/contrib/edioutput/EDIConfig.h
index a7225a7..1997210 100644
--- a/contrib/edioutput/EDIConfig.h
+++ b/contrib/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;