![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: rtp.cpp
- Revision:
- 119:ee6a53069455
- Parent:
- 109:a5b8264ffbbc
- Child:
- 121:ee02790d00b7
--- a/rtp.cpp Fri Apr 24 13:54:24 2015 +0000 +++ b/rtp.cpp Thu Apr 30 15:42:41 2015 +0000 @@ -58,7 +58,7 @@ } char * RTP_Body::build_body( char * dest, char * buffer ){ - for( register int i = 0; i < __CB_AUDIO_DATA_SIZE__; i++ ) dest[ i ] = buffer[ i ]; + for( register int i = 0; i < CB_AUDIO_DATA_SIZE; i++ ) dest[ i ] = buffer[ i ]; return( dest ); } @@ -68,8 +68,8 @@ if( rtp_header == NULL ) { memory_is_over = true; - if( debug_rtp == true ) send_msg("RTP_HEADER allocation failed"); - if( debug_memory ) debug_msg("RTP_Header allocation fail"); + if( debug_rtp == true ) send_msg("[%d] RTP_HEADER allocation failed", ext ); + if( debug_memory ) debug_msg("[%d] RTP_Header allocation fail", ext ); } else { @@ -80,8 +80,8 @@ if( rtp_body == NULL ) { memory_is_over = true; - if( debug_rtp == true ) send_msg("RTP_BODY allocation failed"); - if( debug_memory ) debug_msg("RTP_Body allocation fail"); + if( debug_rtp == true ) send_msg("[%d] RTP_BODY allocation failed", ext ); + if( debug_memory ) debug_msg("[%d ]RTP_Body allocation fail", ext ); } else {