Changeset 5022:b2a2e896974d in roaraudio for roard
- Timestamp:
- 05/27/11 17:13:54 (13 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/include/streams.h
r4967 r5022 203 203 int streams_check (int id); 204 204 int streams_send_mon (int id); 205 int streams_send_filter_all(void); 205 206 int streams_send_filter(int id); 206 207 -
roard/loop.c
r4896 r5022 128 128 #endif 129 129 clients_send_filter(sa, g_pos); 130 // streams_send_filter_all(); // this currently results in deadlocks. 130 131 clients_send_mon(sa, g_pos); 131 132 #ifdef ROAR_HAVE_USLEEP -
roard/streams.c
r4987 r5022 2549 2549 #undef _return 2550 2550 2551 int streams_send_filter_all(void) { 2552 struct roar_stream_server * ss; 2553 int i; 2554 2555 for (i = 0; i < ROAR_STREAMS_MAX; i++) { 2556 if ( (ss = g_streams[i]) == NULL ) 2557 continue; 2558 2559 if ( ROAR_STREAM(ss)->dir != ROAR_DIR_FILTER ) 2560 continue; 2561 2562 if ( !ss->ready ) 2563 continue; 2564 2565 if ( ss->state == ROAR_STREAMSTATE_CLOSING ) 2566 continue; 2567 2568 streams_send_filter(i); 2569 } 2570 2571 return 0; 2572 } 2573 2551 2574 int streams_send_filter(int id) { 2552 2575 int fh;
Note: See TracChangeset
for help on using the changeset viewer.