Changeset 2312:98d61c023ae8 in roaraudio


Ignore:
Timestamp:
08/05/09 16:38:20 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added a lot debug lions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarphone.c

    r2293 r2312  
    159159 ssize_t outlen, miclen; 
    160160 
     161 ROAR_DBG("run_stream(*): g_conf.samples = %i, info->bits = %i", g_conf.samples, info->bits); 
    161162 len = g_conf.samples * info->bits / 8; 
     163 ROAR_DBG("run_stream(*): len=%lu", (unsigned long) len); 
    162164 
    163165 if ( (outbuf = malloc(2*len)) == NULL ) 
     
    178180 
    179181  if ( g_conf.transcode ) { 
     182   ROAR_DBG("run_stream(*): outbuf=%p, len=%lu", outbuf, (unsigned long) len); 
    180183   if ( roar_bixcoder_read_packet(transcoder, outbuf, len) == -1 ) 
    181184    break; 
     
    290293 } 
    291294 
     295 ROAR_DBG("main(*): CALL open_stream(&svio, server, &info)"); 
    292296 if ( open_stream(&svio, server, &info) == -1 ) { 
    293297  roar_vio_close(&dvio); 
    294298  return 2; 
    295299 } 
     300 ROAR_DBG("main(*): RET"); 
    296301 
    297302 if ( g_conf.transcode ) { 
     
    307312 } 
    308313 
     314 ROAR_DBG("main(*): CALL run_stream(&dvio, &svio, &info);"); 
    309315 run_stream(&dvio, &svio, &info); 
     316 ROAR_DBG("main(*): RET"); 
    310317 
    311318 roar_bixcoder_close(transcoder); 
Note: See TracChangeset for help on using the changeset viewer.