Changeset 54:14afa447a91e in roaraudio


Ignore:
Timestamp:
06/25/08 13:01:33 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added code to use shutdown()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/simple.c

    r0 r54  
    4949 } 
    5050 
     51 if ( dir == ROAR_DIR_PLAY ) { 
     52  shutdown(con.fh, SHUT_RD); 
     53 } else if ( dir == ROAR_DIR_MONITOR || dir == ROAR_DIR_RECORD ) { 
     54  shutdown(con.fh, SHUT_WR); 
     55 } 
     56 
    5157 return con.fh; 
    5258} 
Note: See TracChangeset for help on using the changeset viewer.