mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-14 17:46:45 +02:00
chunks have shorts
git-svn-id: svn://elaine/murooma/trunk@57 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
f72c213407
commit
9263e59f99
1 changed files with 2 additions and 2 deletions
|
@ -56,8 +56,8 @@ int main () {
|
|||
// else if (diff_ms(now, ts) > 1000)
|
||||
// ts = now;
|
||||
|
||||
chunk.tv_sec = ts.tv_sec;
|
||||
chunk.tv_usec = ts.tv_usec;
|
||||
chunk.tv_sec = now.tv_sec;
|
||||
chunk.tv_usec = now.tv_usec;
|
||||
zmq::message_t message(sizeof(Chunk));
|
||||
memcpy(message.data(), &chunk, sizeof(Chunk));
|
||||
// snprintf ((char *) message.data(), size, "%05d %d", zipcode, c);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue