Changeset 826:bab1cca7d75f in roaraudio
- Timestamp:
- 09/22/08 21:01:59 (16 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/stream.h
r773 r826 40 40 #define roar_dir2str(x) ((x) == ROAR_DIR_PLAY ? "play" : (x) == ROAR_DIR_MONITOR ? "monitor" : \ 41 41 (x) == ROAR_DIR_FILTER ? "filter" : (x) == ROAR_DIR_RECORD ? "record" : \ 42 (x) == ROAR_DIR_OUTPUT ? "output" : "unknown") 42 (x) == ROAR_DIR_OUTPUT ? "output" : (x) == ROAR_DIR_BIDIR ? "bidir" : \ 43 "unknown") 43 44 /* 44 45 #define roar_codec2str(x) ((x) == ROAR_CODEC_PCM_S_LE ? "pcm_s_le" : (x) == ROAR_CODEC_PCM_S_BE ? "pcm_s_be" : \ -
include/roaraudio/stream.h
r704 r826 42 42 43 43 #define ROAR_DIR_META 8 44 #define ROAR_DIR_BIDIR 9 44 45 45 46 -
roarclients/Makefile
r800 r826 1 TARGETS=roarcat roarcatad roarcat2sock roarcatsendfile roarcatplay roarcatpassfh roar ctl roarmon roarsockconnect roartypes roarvorbis roarvumeter roarfilt roarsin roar-config polytest roarsocktypes roarshout roarradio1 TARGETS=roarcat roarcatad roarcat2sock roarcatsendfile roarcatplay roarcatpassfh roarbidir roarctl roarmon roarsockconnect roartypes roarvorbis roarvumeter roarfilt roarsin roar-config polytest roarsocktypes roarshout roarradio 2 2 3 3 include ../Makefile.conf … … 23 23 roarctl: roarctl.o 24 24 roarmon: roarmon.o 25 roarbidir: roarbidir.o 25 26 roarfilt: roarfilt.o 26 27 ${CC} ${LDFLAGS} -o roarfilt roarfilt.o -lm -lroardsp -
roard/streams.c
r766 r826 498 498 for (i = 0; i < ROAR_STREAMS_MAX; i++) { 499 499 if ( g_streams[i] != NULL ) { 500 if ( ROAR_STREAM(g_streams[i])->dir != ROAR_DIR_PLAY )500 if ( ROAR_STREAM(g_streams[i])->dir != ROAR_DIR_PLAY && ROAR_STREAM(g_streams[i])->dir != ROAR_DIR_BIDIR ) 501 501 continue; 502 502 … … 600 600 return 0; 601 601 602 if ( s->dir != ROAR_DIR_PLAY )602 if ( s->dir != ROAR_DIR_PLAY && s->dir != ROAR_DIR_BIDIR ) 603 603 return 0; 604 604 … … 686 686 return 0; 687 687 688 if ( s->dir != ROAR_DIR_MONITOR && s->dir != ROAR_DIR_OUTPUT )688 if ( s->dir != ROAR_DIR_MONITOR && s->dir != ROAR_DIR_OUTPUT && s->dir != ROAR_DIR_BIDIR ) 689 689 return 0; 690 690
Note: See TracChangeset
for help on using the changeset viewer.