Changeset 1766:b1c0d7263cac in roaraudio


Ignore:
Timestamp:
05/19/09 12:28:03 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

some more error messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/file.c

    r1765 r1766  
    237237 
    238238 if ( codec == -1 ) { 
     239  ROAR_ERR("roar_file_play_full(*): Unknown codec of file: %s", file); 
    239240  close(in); 
    240241  return -1; 
     
    247248 if ( exec ) { 
    248249  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!"); 
    249251   close(in); 
    250252   return -1; 
     
    252254 
    253255  if ( roar_stream_connect(con, s, ROAR_DIR_PLAY) == -1 ) { 
     256   ROAR_ERR("roar_file_play_full(*): Can not connect new stream to server."); 
    254257   close(in); 
    255258   return -1; 
     
    257260 
    258261  if ( roar_stream_exec(con, s) == -1 ) { 
     262   ROAR_ERR("roar_file_play_full(*): Can not exec new stream on server."); 
    259263   close(in); 
    260264   return -1; 
     
    262266 
    263267  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."); 
    264269   close(in); 
    265270   return -1; 
Note: See TracChangeset for help on using the changeset viewer.