mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-29 22:37:44 +02:00
Small time sync fix
This commit is contained in:
parent
d82c3c42ae
commit
83ab1cb260
2 changed files with 3 additions and 4 deletions
|
@ -166,8 +166,8 @@ void StreamSession::sendAsync(msg::message_ptr message, bool send_now)
|
|||
if (!message)
|
||||
return;
|
||||
|
||||
// sendAsync(shared_const_buffer(*message), send_now);
|
||||
tv t;
|
||||
// TODO: better set the timestamp in send_next for more accurate time sync
|
||||
message->sent = t;
|
||||
std::ostringstream oss;
|
||||
message->serialize(oss);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue