Changeset 5118:2b5777714b0d in roaraudio for libroar/simple.c
- Timestamp:
- 08/01/11 03:27:44 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/simple.c
r5114 r5118 70 70 } 71 71 72 int roar_simple_stream_obj (struct roar_stream * s, int rate, int channels, int bits, int codec, const char * server, int dir, c har * name) {72 int roar_simple_stream_obj (struct roar_stream * s, int rate, int channels, int bits, int codec, const char * server, int dir, const char * name) { 73 73 struct roar_connection con; 74 74 int ret; … … 87 87 } 88 88 89 if ( roar_stream_connect (&con, s, dir) == -1 ) {89 if ( roar_stream_connect2(&con, s, dir, -1) == -1 ) { 90 90 roar_disconnect(&con); 91 91 return -1; … … 266 266 } 267 267 268 if ( roar_stream_connect (con, s, dir) == -1 ) {268 if ( roar_stream_connect2(con, s, dir, -1) == -1 ) { 269 269 return -1; 270 270 }
Note: See TracChangeset
for help on using the changeset viewer.