mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-17 19:16:14 +02:00
xxx
git-svn-id: svn://elaine/murooma/trunk@111 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
799aa5c156
commit
80547e8373
1 changed files with 2 additions and 2 deletions
|
@ -33,9 +33,9 @@ int main () {
|
|||
timeval tvChunk;
|
||||
gettimeofday(&tvChunk, NULL);
|
||||
long nextTick = getTickCount();
|
||||
while (!cin.bad())
|
||||
while (cin.good())
|
||||
{
|
||||
for (size_t n=0; (n<WIRE_CHUNK_SIZE) && !cin.bad(); ++n)
|
||||
for (size_t n=0; (n<WIRE_CHUNK_SIZE) && cin.good(); ++n)
|
||||
{
|
||||
c[0] = cin.get();
|
||||
c[1] = cin.get();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue