Changeset 634:01d26682dd80 in roaraudio
- Timestamp:
- 08/20/08 20:12:05 (16 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/codecfilter_celt.c
r611 r634 66 66 if ( s->dir == ROAR_DIR_PLAY ) { 67 67 self->decoder = celt_decoder_create(self->mode); 68 } else if ( s->dir == ROAR_DIR_MONITOR ) {68 } else if ( s->dir == ROAR_DIR_MONITOR || s->dir == ROAR_DIR_OUTPUT ) { 69 69 self->encoder = celt_encoder_create(self->mode); 70 70 } else { -
roard/codecfilter_vorbis.c
r602 r634 38 38 if ( s->dir == ROAR_DIR_PLAY ) { 39 39 return 0; 40 } else if ( s->dir == ROAR_DIR_MONITOR ) {40 } else if ( s->dir == ROAR_DIR_MONITOR || s->dir == ROAR_DIR_OUTPUT ) { 41 41 #ifdef ROAR_HAVE_LIBVORBISENC 42 42 // set up the encoder here -
roard/streams.c
r625 r634 143 143 } 144 144 145 if ( fh == -1 ) { // yes, this is valid, indecats full vio! 146 return 0; 147 } 148 145 149 dir = ROAR_STREAM(g_streams[id])->dir; 146 150 147 if ( dir == ROAR_DIR_MONITOR || dir == ROAR_DIR_RECORD ) {151 if ( dir == ROAR_DIR_MONITOR || dir == ROAR_DIR_RECORD || dir == ROAR_DIR_OUTPUT ) { 148 152 shutdown(fh, SHUT_RD); 149 153 } … … 629 633 return 0; 630 634 631 if ( s->dir != ROAR_DIR_MONITOR )635 if ( s->dir != ROAR_DIR_MONITOR && s->dir != ROAR_DIR_OUTPUT ) 632 636 return 0; 633 637
Note: See TracChangeset
for help on using the changeset viewer.