chansrv: remove excessive logging
Jay Sorg
4 years ago
297 | 297 | static int |
298 | 298 | audin_process_incoming_data(int chan_id, struct stream *s) |
299 | 299 | { |
300 | LOG(0, ("audin_process_incoming_data:")); | |
300 | LOG(10, ("audin_process_incoming_data:")); | |
301 | 301 | return 0; |
302 | 302 | } |
303 | 303 | |
309 | 309 | struct stream *ls; |
310 | 310 | |
311 | 311 | 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)); | |
313 | 313 | |
314 | 314 | xstream_new(ls, data_bytes); |
315 | 315 | g_memcpy(ls->data, s->p, data_bytes); |
343 | 343 | { |
344 | 344 | int code; |
345 | 345 | |
346 | LOG(0, ("audin_process_msg:")); | |
346 | LOG(10, ("audin_process_msg:")); | |
347 | 347 | if (!s_check_rem(s, 1)) |
348 | 348 | { |
349 | 349 | LOG(0, ("audin_process_msg: parse error")); |
350 | 350 | return 1; |
351 | 351 | } |
352 | 352 | in_uint8(s, code); |
353 | LOG(0, ("audin_process_msg: code %d", code)); | |
353 | LOG(10, ("audin_process_msg: code %d", code)); | |
354 | 354 | switch (code) |
355 | 355 | { |
356 | 356 | case MSG_SNDIN_VERSION: |
403 | 403 | int rv; |
404 | 404 | int left; |
405 | 405 | |
406 | LOG(0, ("audin_data_fragment:")); | |
406 | LOG(10, ("audin_data_fragment:")); | |
407 | 407 | if (!s_check_rem(g_in_s, bytes)) |
408 | 408 | { |
409 | 409 | left = (int) (g_in_s->end - g_in_s->p); |
426 | 426 | static int |
427 | 427 | audin_data_first(int chan_id, char *data, int bytes, int total_bytes) |
428 | 428 | { |
429 | LOG(0, ("audin_data_first:")); | |
429 | LOG(10, ("audin_data_first:")); | |
430 | 430 | if (g_in_s != NULL) |
431 | 431 | { |
432 | 432 | LOG(0, ("audin_data_first: warning g_in_s is not nil")); |
444 | 444 | { |
445 | 445 | struct stream ls; |
446 | 446 | |
447 | LOG(0, ("audin_data:")); | |
447 | LOG(10, ("audin_data:")); | |
448 | 448 | //g_hexdump(data, bytes); |
449 | 449 | if (g_in_s == NULL) |
450 | 450 | { |