Changeset 53:c6dc270b5cac in roaraudio


Ignore:
Timestamp:
06/25/08 12:37:43 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

changed to not shutdown playback sockets for writeing as we need to write finale OK on execed streams

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/streams.c

    r51 r53  
    101101 
    102102int streams_set_fh     (int id, int fh) { 
    103  int shut = -1; 
    104103 int dir; 
    105104 
     
    111110 dir = ((struct roar_stream *)g_streams[id])->dir; 
    112111 
    113  if ( dir == ROAR_DIR_PLAY ) { 
    114   shut = SHUT_WR; 
    115  } else if ( dir == ROAR_DIR_MONITOR || dir == ROAR_DIR_RECORD ) { 
    116   shut = SHUT_RD; 
    117  } 
    118  
    119  if ( shut != -1 ) 
    120   shutdown(fh, shut); 
     112 if ( dir == ROAR_DIR_MONITOR || dir == ROAR_DIR_RECORD ) { 
     113  shutdown(fh, SHUT_RD); 
     114 } 
    121115 
    122116 if ( dir == ROAR_DIR_FILTER ) { 
Note: See TracChangeset for help on using the changeset viewer.