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