summaryrefslogtreecommitdiffstats
path: root/src/ManagementServer.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2020-02-25 16:26:04 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2020-02-25 16:26:04 +0100
commit691617b1b651abe3c0413ab4e9349e56c8cf54e5 (patch)
tree125b3cd307fb8a665e9c96431767cd732e195f4c /src/ManagementServer.h
parent9e1a5e0d5a6421628863c049619e12800670e79a (diff)
downloaddabmux-691617b1b651abe3c0413ab4e9349e56c8cf54e5.tar.gz
dabmux-691617b1b651abe3c0413ab4e9349e56c8cf54e5.tar.bz2
dabmux-691617b1b651abe3c0413ab4e9349e56c8cf54e5.zip
Fix issue that input stays in Unstable when it is prebuffering
Diffstat (limited to 'src/ManagementServer.h')
-rw-r--r--src/ManagementServer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ManagementServer.h b/src/ManagementServer.h
index 5b52957..e88d233 100644
--- a/src/ManagementServer.h
+++ b/src/ManagementServer.h
@@ -107,6 +107,9 @@ class InputStat
private:
std::string m_name;
+ // Remove all expired fill and peak stats
+ void prune_statistics(const std::chrono::time_point<std::chrono::steady_clock>& timestamp);
+
/************ STATISTICS ***********/
// Keep track of buffer fill with timestamps, so that we
// can calculate the correct state from it.