From 7e9c5726e02a65023d9563f49e833525bf8f4bae Mon Sep 17 00:00:00 2001 From: Crystalwarrior Date: Tue, 25 Aug 2020 12:21:10 +0300 Subject: Introduce the timer packet - "TI". This timer will start the clock accounting for latency! Cool, right? Remove useless qDebug() for music looping --- include/courtroom.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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(); -- cgit