Changeset 5022:b2a2e896974d in roaraudio for roard/streams.c


Ignore:
Timestamp:
05/27/11 17:13:54 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Converted most roarclients to to use VS API (See: #87)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/streams.c

    r4987 r5022  
    25492549#undef _return 
    25502550 
     2551int 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 
    25512574int streams_send_filter(int id) { 
    25522575 int fh; 
Note: See TracChangeset for help on using the changeset viewer.