diff --git a/tools/bufsize.c b/tools/bufsize.c index ebc0a30..c0980d6 100644 --- a/tools/bufsize.c +++ b/tools/bufsize.c @@ -72,12 +72,19 @@ void parse_arguments(int argc, char *argv[]) } } +void silent_function( const char *ignore ) +{ +} + int main(int argc, char *argv[]) { int rc; parse_arguments(argc, argv); + if (just_print_bufsize) + jack_set_info_function( silent_function ); + /* become a JACK client */ if ((client = jack_client_open(package, JackNullOption, NULL)) == 0) { fprintf(stderr, "JACK server not running?\n"); diff --git a/tools/wait.c b/tools/wait.c index 67e0b35..800c97f 100644 --- a/tools/wait.c +++ b/tools/wait.c @@ -36,6 +36,10 @@ show_usage (void) fprintf (stderr, "For more information see http://jackaudio.org/\n"); } +void silent_function( const char *ignore ) +{ +} + int main (int argc, char *argv[]) { @@ -107,6 +111,7 @@ main (int argc, char *argv[]) /* try to open server in a loop. breaking under certein conditions */ start_timestamp = time( NULL ); + jack_set_info_function( silent_function ); while(1) { client = jack_client_open ("wait", options, &status, server_name);