Changeset 129:1636d0d38280 in roaraudio
- Timestamp:
- 07/13/08 19:55:29 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/streams.c
r127 r129 545 545 return 0; 546 546 547 if ( errno == EAGAIN ) { 548 // ok, the client blocks for a moment, we try to sleep a bit an retry in the hope not to 549 // make any gapes in any output because of this 550 551 usleep(100); // 0.1ms 552 553 if ( write(fh, g_output_buffer, g_output_buffer_len) == g_output_buffer_len ) 554 return 0; 555 } 556 547 557 // ug... error... delete stream! 548 558
Note: See TracChangeset
for help on using the changeset viewer.