Changeset 3860:96075c123fec in roaraudio


Ignore:
Timestamp:
05/16/10 23:09:23 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

use roar_libroar_*warn()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vio.c

    r3859 r3860  
    275275  return -1; 
    276276 
    277  if ( (fh = roar_simple_stream(rate, channels, bits, codec, server, dir, name)) == -1 ) 
    278   return -1; 
     277 roar_libroar_nowarn(); 
     278 if ( (fh = roar_simple_stream(rate, channels, bits, codec, server, dir, name)) == -1 ) { 
     279  roar_libroar_warn(); 
     280  return -1; 
     281 } 
     282 roar_libroar_warn(); 
    279283 
    280284 return roar_vio_open_fh_socket(calls, fh); 
     
    294298  s = &stream; 
    295299 
    296  if ( (fh = roar_simple_new_stream_obj(con, s, rate, channels, bits, codec, dir)) == -1 ) 
    297   return -1; 
     300 roar_libroar_nowarn(); 
     301 if ( (fh = roar_simple_new_stream_obj(con, s, rate, channels, bits, codec, dir)) == -1 ) { 
     302  roar_libroar_warn(); 
     303  return -1; 
     304 } 
     305 roar_libroar_warn(); 
    298306 
    299307 return roar_vio_open_fh_socket(calls, fh); 
Note: See TracChangeset for help on using the changeset viewer.