mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-15 10:06:43 +02:00
chunks have shorts
git-svn-id: svn://elaine/murooma/trunk@61 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
974174d181
commit
ab215e07f5
1 changed files with 2 additions and 2 deletions
|
@ -58,8 +58,8 @@ int main () {
|
|||
|
||||
chunk->tv_sec = (int16_t)now.tv_sec;
|
||||
chunk->tv_usec = 0;//now.tv_usec;
|
||||
zmq::message_t message(sizeof(Chunk));
|
||||
memcpy(message.data(), chunk, sizeof(Chunk));
|
||||
zmq::message_t message(8*2*WIRE_CHUNK_SIZE);//sizeof(Chunk));
|
||||
memcpy(message.data(), chunk, 8+2*WIRE_CHUNK_SIZE);//sizeof(Chunk));
|
||||
// snprintf ((char *) message.data(), size, "%05d %d", zipcode, c);
|
||||
// message.data()[0] = c;
|
||||
publisher.send(message);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue