diff options
| author | Crystalwarrior <varsash@gmail.com> | 2020-08-25 12:21:10 +0300 |
|---|---|---|
| committer | Crystalwarrior <varsash@gmail.com> | 2020-08-25 12:21:10 +0300 |
| commit | 7e9c5726e02a65023d9563f49e833525bf8f4bae (patch) | |
| tree | 05bcd9b5972f73f0164e38cb7cacb21602a864c3 /include | |
| parent | febfbeafc11ecad57d6e9a06575c28f1b13da8da (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.h | 4 |
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(); |
