Changeset 53:c6dc270b5cac in roaraudio
- Timestamp:
- 06/25/08 12:37:43 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/streams.c
r51 r53 101 101 102 102 int streams_set_fh (int id, int fh) { 103 int shut = -1;104 103 int dir; 105 104 … … 111 110 dir = ((struct roar_stream *)g_streams[id])->dir; 112 111 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 } 121 115 122 116 if ( dir == ROAR_DIR_FILTER ) {
Note: See TracChangeset
for help on using the changeset viewer.