Changeset 1405:37b39a2a8b95 in roaraudio for roarclients/roarcatad.c
- Timestamp:
- 03/26/09 13:55:12 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarcatad.c
r669 r1405 78 78 if ( roar_simple_connect(&con, server, "roarcatad") == -1 ) { 79 79 ROAR_DBG("roar_simple_play(*): roar_simple_connect() faild!"); 80 return -1;80 return 1; 81 81 } 82 82 83 83 if ( roar_stream_new(&s, rate, channels, bits, codec) == -1 ) { 84 84 roar_disconnect(&con); 85 return -1;85 return 1; 86 86 } 87 87 88 88 if ( roar_stream_connect(&con, &s, ROAR_DIR_PLAY) == -1 ) { 89 89 roar_disconnect(&con); 90 return -1;90 return 1; 91 91 } 92 92
Note: See TracChangeset
for help on using the changeset viewer.