Changeset 2225:0c8e399f1041 in roaraudio
- Timestamp:
- 07/28/09 01:45:49 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarradio.c
r2222 r2225 192 192 if ( roar_simple_connect(con, server, "roarradio") == -1 ) { 193 193 ROAR_ERR("Can not connect to server"); 194 return 0;194 return 1; 195 195 } 196 196 197 197 if ( roar_stream_new(stream, rate, channels, bits, codec) == -1 ) { 198 198 roar_disconnect(con); 199 return -1;199 return 1; 200 200 } 201 201 202 202 if ( roar_stream_connect(con, stream, ROAR_DIR_PLAY) == -1 ) { 203 203 roar_disconnect(con); 204 return -1;204 return 1; 205 205 } 206 206 207 207 if ( roar_stream_passfh(con, stream, in) == -1 ) { 208 208 roar_disconnect(con); 209 return -1;209 return 1; 210 210 } 211 211
Note: See TracChangeset
for help on using the changeset viewer.