Mercurial > audlegacy
comparison audacious/pluginenum.c @ 687:0a220c3183b8 trunk
[svn] Revert debug-only cleanup system verbosity.
| author | chainsaw |
|---|---|
| date | Sat, 25 Feb 2006 09:36:36 -0800 |
| parents | a1806a3cf3d2 |
| children | 12c47704b4b5 |
comparison
equal
deleted
inserted
replaced
| 686:a1806a3cf3d2 | 687:0a220c3183b8 |
|---|---|
| 27 | 27 |
| 28 #include <glib.h> | 28 #include <glib.h> |
| 29 #include <gmodule.h> | 29 #include <gmodule.h> |
| 30 #include <glib/gprintf.h> | 30 #include <glib/gprintf.h> |
| 31 #include <string.h> | 31 #include <string.h> |
| 32 #include <stdio.h> | |
| 33 | 32 |
| 34 #include "controlsocket.h" | 33 #include "controlsocket.h" |
| 35 #include "main.h" | 34 #include "main.h" |
| 36 #include "playback.h" | 35 #include "playback.h" |
| 37 #include "playlist.h" | 36 #include "playlist.h" |
| 363 bmp_playback_stop(); | 362 bmp_playback_stop(); |
| 364 | 363 |
| 365 for (node = get_input_list(); node; node = g_list_next(node)) { | 364 for (node = get_input_list(); node; node = g_list_next(node)) { |
| 366 ip = INPUT_PLUGIN(node->data); | 365 ip = INPUT_PLUGIN(node->data); |
| 367 if (ip && ip->cleanup) { | 366 if (ip && ip->cleanup) { |
| 368 printf("Cleaning up input plugin %s\n", ip->filename); | |
| 369 ip->cleanup(); | 367 ip->cleanup(); |
| 370 GDK_THREADS_LEAVE(); | 368 GDK_THREADS_LEAVE(); |
| 371 while (g_main_iteration(FALSE)); | 369 while (g_main_iteration(FALSE)); |
| 372 GDK_THREADS_ENTER(); | 370 GDK_THREADS_ENTER(); |
| 373 } | 371 } |
| 378 g_list_free(ip_data.input_list); | 376 g_list_free(ip_data.input_list); |
| 379 | 377 |
| 380 for (node = get_output_list(); node; node = g_list_next(node)) { | 378 for (node = get_output_list(); node; node = g_list_next(node)) { |
| 381 op = OUTPUT_PLUGIN(node->data); | 379 op = OUTPUT_PLUGIN(node->data); |
| 382 if (op && op->cleanup) { | 380 if (op && op->cleanup) { |
| 383 printf("Cleaning up output plugin %s\n", op->filename); | |
| 384 op->cleanup(); | 381 op->cleanup(); |
| 385 GDK_THREADS_LEAVE(); | 382 GDK_THREADS_LEAVE(); |
| 386 while (g_main_iteration(FALSE)); | 383 while (g_main_iteration(FALSE)); |
| 387 GDK_THREADS_ENTER(); | 384 GDK_THREADS_ENTER(); |
| 388 } | 385 } |
| 393 g_list_free(op_data.output_list); | 390 g_list_free(op_data.output_list); |
| 394 | 391 |
| 395 for (node = get_effect_list(); node; node = g_list_next(node)) { | 392 for (node = get_effect_list(); node; node = g_list_next(node)) { |
| 396 ep = EFFECT_PLUGIN(node->data); | 393 ep = EFFECT_PLUGIN(node->data); |
| 397 if (ep && ep->cleanup) { | 394 if (ep && ep->cleanup) { |
| 398 printf("Cleaning up effect plugin %s\n", ep->filename); | |
| 399 ep->cleanup(); | 395 ep->cleanup(); |
| 400 GDK_THREADS_LEAVE(); | 396 GDK_THREADS_LEAVE(); |
| 401 while (g_main_iteration(FALSE)); | 397 while (g_main_iteration(FALSE)); |
| 402 GDK_THREADS_ENTER(); | 398 GDK_THREADS_ENTER(); |
| 403 } | 399 } |
| 420 GDK_THREADS_ENTER(); | 416 GDK_THREADS_ENTER(); |
| 421 | 417 |
| 422 for (node = get_general_list(); node; node = g_list_next(node)) { | 418 for (node = get_general_list(); node; node = g_list_next(node)) { |
| 423 gp = GENERAL_PLUGIN(node->data); | 419 gp = GENERAL_PLUGIN(node->data); |
| 424 if (gp && gp->cleanup) { | 420 if (gp && gp->cleanup) { |
| 425 printf("Cleaning up general plugin %s\n", gp->filename); | |
| 426 gp->cleanup(); | 421 gp->cleanup(); |
| 427 GDK_THREADS_LEAVE(); | 422 GDK_THREADS_LEAVE(); |
| 428 while (g_main_iteration(FALSE)); | 423 while (g_main_iteration(FALSE)); |
| 429 GDK_THREADS_ENTER(); | 424 GDK_THREADS_ENTER(); |
| 430 } | 425 } |
| 447 GDK_THREADS_ENTER(); | 442 GDK_THREADS_ENTER(); |
| 448 | 443 |
| 449 for (node = get_vis_list(); node; node = g_list_next(node)) { | 444 for (node = get_vis_list(); node; node = g_list_next(node)) { |
| 450 vp = VIS_PLUGIN(node->data); | 445 vp = VIS_PLUGIN(node->data); |
| 451 if (vp && vp->cleanup) { | 446 if (vp && vp->cleanup) { |
| 452 printf("Cleaning up visualisation plugin %s\n", vp->filename); | |
| 453 vp->cleanup(); | 447 vp->cleanup(); |
| 454 GDK_THREADS_LEAVE(); | 448 GDK_THREADS_LEAVE(); |
| 455 while (g_main_iteration(FALSE)); | 449 while (g_main_iteration(FALSE)); |
| 456 GDK_THREADS_ENTER(); | 450 GDK_THREADS_ENTER(); |
| 457 } | 451 } |
