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