aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCrystalwarrior <varsash@gmail.com>2020-08-25 12:21:10 +0300
committerCrystalwarrior <varsash@gmail.com>2020-08-25 12:21:10 +0300
commit7e9c5726e02a65023d9563f49e833525bf8f4bae (patch)
tree05bcd9b5972f73f0164e38cb7cacb21602a864c3 /include
parentfebfbeafc11ecad57d6e9a06575c28f1b13da8da (diff)
Introduce the timer packet - "TI".
This timer will start the clock accounting for latency! Cool, right? Remove useless qDebug() for music looping
Diffstat (limited to 'include')
-rw-r--r--include/courtroom.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/courtroom.h b/include/courtroom.h
index 0daeb2b1..93461726 100644
--- a/include/courtroom.h
+++ b/include/courtroom.h
@@ -251,6 +251,10 @@ public:
void check_connection_received();
+ void start_clock(qint64 msecs);
+
+ void stop_clock();
+
qint64 get_ping() { return ping_timer.elapsed(); }
~Courtroom();