Changeset 2655:b4eb068bb586 in roaraudio


Ignore:
Timestamp:
09/12/09 14:15:04 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added some calls of roar_debug_warn_sysio()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/simple.c

    r2647 r2655  
    325325 
    326326int roar_simple_play(int rate, int channels, int bits, int codec, char * server, char * name) { 
     327 roar_debug_warn_sysio("roar_simple_play", "roar_vio_simple_stream", NULL); 
     328 
    327329 return roar_simple_stream(rate, channels, bits, codec, server, ROAR_DIR_PLAY, name); 
    328330} 
    329331 
    330332int roar_simple_monitor(int rate, int channels, int bits, int codec, char * server, char * name) { 
     333 roar_debug_warn_sysio("roar_simple_monitor", "roar_vio_simple_stream", NULL); 
     334 
    331335 return roar_simple_stream(rate, channels, bits, codec, server, ROAR_DIR_MONITOR, name); 
    332336} 
    333337 
    334338int roar_simple_record(int rate, int channels, int bits, int codec, char * server, char * name) { 
     339 roar_debug_warn_sysio("roar_simple_record", "roar_vio_simple_stream", NULL); 
     340 
    335341 return roar_simple_stream(rate, channels, bits, codec, server, ROAR_DIR_RECORD, name); 
    336342} 
    337343 
    338344int roar_simple_filter(int rate, int channels, int bits, int codec, char * server, char * name) { 
     345 roar_debug_warn_sysio("roar_simple_filter", "roar_vio_simple_stream", NULL); 
     346 
    339347 return roar_simple_stream(rate, channels, bits, codec, server, ROAR_DIR_FILTER, name); 
    340348} 
     
    345353 
    346354int roar_simple_close(int fh) { 
     355 roar_debug_warn_sysio("roar_simple_close", "roar_vio_close", NULL); 
     356 
    347357#ifdef ROAR_TARGET_WIN32 
    348358 closesocket(fh); 
     
    362372 struct roar_connection con; 
    363373 
     374 roar_debug_warn_sysio("roar_simple_get_standby", NULL, NULL); 
     375 
    364376 if ( roar_connect_fh(&con, fh) == -1 ) 
    365377  return -1; 
Note: See TracChangeset for help on using the changeset viewer.