aboutsummaryrefslogtreecommitdiffstats
path: root/src/ManagementServer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ManagementServer.h')
-rw-r--r--src/ManagementServer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ManagementServer.h b/src/ManagementServer.h
index e88d233..12f5ad6 100644
--- a/src/ManagementServer.h
+++ b/src/ManagementServer.h
@@ -97,6 +97,7 @@ class InputStat
/* This function is called for every frame read by
* the multiplexer */
void notifyBuffer(long bufsize);
+ void notifyTimestampOffset(double offset);
void notifyPeakLevels(int peak_left, int peak_right);
void notifyUnderrun(void);
void notifyOverrun(void);
@@ -123,6 +124,9 @@ class InputStat
uint32_t m_num_underruns = 0;
uint32_t m_num_overruns = 0;
+ // last measured timestamp offset
+ double m_last_tist_offset = 0;
+
// Peak audio levels (linear 16-bit PCM) for the two channels.
// Keep a FIFO of values from the last minutes, apply
// a short window to also see short-term fluctuations.