Changeset 2312:98d61c023ae8 in roaraudio
- Timestamp:
- 08/05/09 16:38:20 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarphone.c
r2293 r2312 159 159 ssize_t outlen, miclen; 160 160 161 ROAR_DBG("run_stream(*): g_conf.samples = %i, info->bits = %i", g_conf.samples, info->bits); 161 162 len = g_conf.samples * info->bits / 8; 163 ROAR_DBG("run_stream(*): len=%lu", (unsigned long) len); 162 164 163 165 if ( (outbuf = malloc(2*len)) == NULL ) … … 178 180 179 181 if ( g_conf.transcode ) { 182 ROAR_DBG("run_stream(*): outbuf=%p, len=%lu", outbuf, (unsigned long) len); 180 183 if ( roar_bixcoder_read_packet(transcoder, outbuf, len) == -1 ) 181 184 break; … … 290 293 } 291 294 295 ROAR_DBG("main(*): CALL open_stream(&svio, server, &info)"); 292 296 if ( open_stream(&svio, server, &info) == -1 ) { 293 297 roar_vio_close(&dvio); 294 298 return 2; 295 299 } 300 ROAR_DBG("main(*): RET"); 296 301 297 302 if ( g_conf.transcode ) { … … 307 312 } 308 313 314 ROAR_DBG("main(*): CALL run_stream(&dvio, &svio, &info);"); 309 315 run_stream(&dvio, &svio, &info); 316 ROAR_DBG("main(*): RET"); 310 317 311 318 roar_bixcoder_close(transcoder);
Note: See TracChangeset
for help on using the changeset viewer.