Changeset 2458:8cbbb5330348 in roaraudio
- Timestamp:
- 08/21/09 14:43:45 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/streams.c
r2417 r2458 1076 1076 int i; 1077 1077 int have = 0; 1078 int dir; 1078 1079 1079 1080 for (i = 0; i < ROAR_STREAMS_MAX; i++) { 1080 1081 if ( g_streams[i] != NULL ) { 1081 if ( ROAR_STREAM(g_streams[i])->dir != ROAR_DIR_PLAY && ROAR_STREAM(g_streams[i])->dir != ROAR_DIR_BIDIR ) 1082 continue; 1082 dir = streams_get_dir(i); 1083 1084 switch (dir) { 1085 case ROAR_DIR_PLAY: 1086 case ROAR_DIR_BIDIR: 1087 break; 1088 default: 1089 continue; 1090 } 1083 1091 1084 1092 if ( streams_get_outputbuffer(i, &bufs[have], ROAR_OUTPUT_CALC_OUTBUFSIZE(info)) == -1 ) {
Note: See TracChangeset
for help on using the changeset viewer.