mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-17 11:06:16 +02:00
chunks have shorts
git-svn-id: svn://elaine/murooma/trunk@65 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
a379d5903f
commit
7f3642c730
3 changed files with 10 additions and 11 deletions
|
@ -56,8 +56,8 @@ int main () {
|
|||
// else if (diff_ms(now, ts) > 1000)
|
||||
// ts = now;
|
||||
|
||||
chunk->tv_sec = now.tv_sec;
|
||||
chunk->tv_usec = now.tv_usec;
|
||||
chunk->tv_sec = ts.tv_sec;
|
||||
chunk->tv_usec = ts.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