VoIP: changed debug output filenames.

This commit is contained in:
Ryan C. Gordon 2008-06-07 14:41:21 +00:00
parent fec2cc2f05
commit fdfaff64f8
1 changed files with 2 additions and 2 deletions

View File

@ -770,10 +770,10 @@ void CL_ParseVoip ( msg_t *msg ) {
#if 0 #if 0
static FILE *encio = NULL; static FILE *encio = NULL;
if (encio == NULL) encio = fopen("incoming-encoded.bin", "wb"); if (encio == NULL) encio = fopen("voip-incoming-encoded.bin", "wb");
if (encio != NULL) { fwrite(encoded, len, 1, encio); fflush(encio); } if (encio != NULL) { fwrite(encoded, len, 1, encio); fflush(encio); }
static FILE *decio = NULL; static FILE *decio = NULL;
if (decio == NULL) decio = fopen("incoming-decoded.bin", "wb"); if (decio == NULL) decio = fopen("voip-incoming-decoded.bin", "wb");
if (decio != NULL) { fwrite(decoded+written, clc.speexFrameSize*2, 1, decio); fflush(decio); } if (decio != NULL) { fwrite(decoded+written, clc.speexFrameSize*2, 1, decio); fflush(decio); }
#endif #endif