mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-21 18:38:07 +02:00
xxx
git-svn-id: svn://elaine/murooma/trunk@74 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
67db37c774
commit
ebddfc210a
2 changed files with 3 additions and 3 deletions
|
@ -38,9 +38,9 @@ int main () {
|
|||
timeval last;
|
||||
gettimeofday(&last, NULL);
|
||||
last.tv_sec -= 1000;
|
||||
while (true)
|
||||
while (cin.good())
|
||||
{
|
||||
c[0] = cin.get();
|
||||
c[0] = cin.get(c);
|
||||
c[1] = cin.get();
|
||||
chunk->payload[idx++] = (int)c[0] + ((int)c[1] * 256);
|
||||
if (idx == WIRE_CHUNK_SIZE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue