diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-12-10 15:47:32 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-12-10 15:47:32 +0100 |
commit | 66c2acf2606877d00e056c1d1228b32d0a15c5bc (patch) | |
tree | b520bf648e8c511d772266e26bccf527859dbd1a /src/input/inputs.h | |
parent | e845a4188b93a31445a780ae11f33286420cb038 (diff) | |
download | dabmux-66c2acf2606877d00e056c1d1228b32d0a15c5bc.tar.gz dabmux-66c2acf2606877d00e056c1d1228b32d0a15c5bc.tar.bz2 dabmux-66c2acf2606877d00e056c1d1228b32d0a15c5bc.zip |
Make EDI input TIST delay configurable
Diffstat (limited to 'src/input/inputs.h')
-rw-r--r-- | src/input/inputs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input/inputs.h b/src/input/inputs.h index 5d4fc60..83cdbf2 100644 --- a/src/input/inputs.h +++ b/src/input/inputs.h @@ -83,6 +83,7 @@ class InputBase { virtual ~InputBase() {} + void setTistDelay(const std::chrono::milliseconds& ms) { m_tist_delay = ms; } void setBufferManagement(BufferManagement bm) { m_bufferManagement = bm; } BufferManagement getBufferManagement() const { return m_bufferManagement; } @@ -90,6 +91,7 @@ class InputBase { InputBase() {} std::atomic<BufferManagement> m_bufferManagement = ATOMIC_VAR_INIT(BufferManagement::Prebuffering); + std::chrono::milliseconds m_tist_delay; }; }; |