Codebase list xorgxrdp / 933394c
chansrv: remove excessive logging Jay Sorg 4 years ago
1 changed file(s) with 7 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
297297 static int
298298 audin_process_incoming_data(int chan_id, struct stream *s)
299299 {
300 LOG(0, ("audin_process_incoming_data:"));
300 LOG(10, ("audin_process_incoming_data:"));
301301 return 0;
302302 }
303303
309309 struct stream *ls;
310310
311311 data_bytes = (int) (s->end - s->p);
312 LOG(0, ("audin_process_data: data_bytes %d", data_bytes));
312 LOG(10, ("audin_process_data: data_bytes %d", data_bytes));
313313
314314 xstream_new(ls, data_bytes);
315315 g_memcpy(ls->data, s->p, data_bytes);
343343 {
344344 int code;
345345
346 LOG(0, ("audin_process_msg:"));
346 LOG(10, ("audin_process_msg:"));
347347 if (!s_check_rem(s, 1))
348348 {
349349 LOG(0, ("audin_process_msg: parse error"));
350350 return 1;
351351 }
352352 in_uint8(s, code);
353 LOG(0, ("audin_process_msg: code %d", code));
353 LOG(10, ("audin_process_msg: code %d", code));
354354 switch (code)
355355 {
356356 case MSG_SNDIN_VERSION:
403403 int rv;
404404 int left;
405405
406 LOG(0, ("audin_data_fragment:"));
406 LOG(10, ("audin_data_fragment:"));
407407 if (!s_check_rem(g_in_s, bytes))
408408 {
409409 left = (int) (g_in_s->end - g_in_s->p);
426426 static int
427427 audin_data_first(int chan_id, char *data, int bytes, int total_bytes)
428428 {
429 LOG(0, ("audin_data_first:"));
429 LOG(10, ("audin_data_first:"));
430430 if (g_in_s != NULL)
431431 {
432432 LOG(0, ("audin_data_first: warning g_in_s is not nil"));
444444 {
445445 struct stream ls;
446446
447 LOG(0, ("audin_data:"));
447 LOG(10, ("audin_data:"));
448448 //g_hexdump(data, bytes);
449449 if (g_in_s == NULL)
450450 {