Changeset 1766:b1c0d7263cac in roaraudio
- Timestamp:
- 05/19/09 12:28:03 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/file.c
r1765 r1766 237 237 238 238 if ( codec == -1 ) { 239 ROAR_ERR("roar_file_play_full(*): Unknown codec of file: %s", file); 239 240 close(in); 240 241 return -1; … … 247 248 if ( exec ) { 248 249 if ( roar_stream_new(s, rate, channels, bits, codec) == -1 ) { 250 ROAR_ERR("roar_file_play_full(*): Can not create new stream. This is realy BAD!"); 249 251 close(in); 250 252 return -1; … … 252 254 253 255 if ( roar_stream_connect(con, s, ROAR_DIR_PLAY) == -1 ) { 256 ROAR_ERR("roar_file_play_full(*): Can not connect new stream to server."); 254 257 close(in); 255 258 return -1; … … 257 260 258 261 if ( roar_stream_exec(con, s) == -1 ) { 262 ROAR_ERR("roar_file_play_full(*): Can not exec new stream on server."); 259 263 close(in); 260 264 return -1; … … 262 266 263 267 if ( (out = roar_get_connection_fh(con)) == -1 ) { 268 ROAR_ERR("roar_file_play_full(*): Can not get socket of server connection for exec data transmition."); 264 269 close(in); 265 270 return -1;
Note: See TracChangeset
for help on using the changeset viewer.