From 02492105462a34bde7b607802873cd52d1e3a1f4 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 26 Feb 2012 04:51:34 +0000 Subject: replace verbose() with logpost() since verbose() adds extraneous carraige returns to messages that have been filtered out by the log level svn path=/trunk/externals/unauthorized/; revision=16033 --- audience~.c | 2 +- beatify~.c | 2 +- blinkenlights.c | 2 +- compressor~.c | 2 +- cooled~.c | 2 +- countund.c | 2 +- disto~.c | 2 +- exciter.c | 2 +- filterbank~.c | 2 +- formant~.c | 2 +- grid.c | 2 +- mp3amp~.c | 2 +- mp3cast~.c | 6 +++--- mp3fileout~.c | 2 +- mp3streamin~.c | 2 +- mp3streamout~.c | 6 +++--- mp3write~.c | 6 +++--- pianoroll.c | 2 +- playlist.c | 4 ++-- probalizer.c | 2 +- randomblock~.c | 2 +- samplebox~.c | 2 +- scratcher~.c | 2 +- scrolllist.c | 2 +- sonogram~.c | 2 +- speexin~.c | 2 +- speexout~.c | 2 +- spigot~.c | 2 +- vocoder~.c | 2 +- wahwah~.c | 2 +- 30 files changed, 37 insertions(+), 37 deletions(-) diff --git a/audience~.c b/audience~.c index 7af1a5a..5f43f2a 100644 --- a/audience~.c +++ b/audience~.c @@ -1038,7 +1038,7 @@ static void audience_delay(t_audience_tilde *x, t_floatarg fdelay ) void audience_tilde_setup(void) { - verbose(0, audience_version ); + logpost(NULL, 4, audience_version ); audience_class_tilde = class_new(gensym("audience~"), (t_newmethod)audience_new, (t_method)audience_free, sizeof(t_audience_tilde), 0, A_GIMME, 0); CLASS_MAINSIGNALIN( audience_class_tilde, t_audience_tilde, x_f ); diff --git a/beatify~.c b/beatify~.c index 8b2f36a..5c689a5 100644 --- a/beatify~.c +++ b/beatify~.c @@ -171,7 +171,7 @@ static void beatify_dsp(t_beatify *x, t_signal **sp) void beatify_tilde_setup(void) { - verbose(0, beatify_version ); + logpost(NULL, 4, beatify_version ); beatify_class = class_new(gensym("beatify~"), (t_newmethod)beatify_new, 0, sizeof(t_beatify), 0, 0); CLASS_MAINSIGNALIN( beatify_class, t_beatify, x_f ); diff --git a/blinkenlights.c b/blinkenlights.c index c9f0a81..65e02a4 100644 --- a/blinkenlights.c +++ b/blinkenlights.c @@ -860,7 +860,7 @@ static void blinkenlights_next(t_blinkenlights *x) void blinkenlights_setup(void) { - verbose(0, blinkenlights_version); + logpost(NULL, 4, blinkenlights_version); blinkenlights_class = class_new(gensym("blinkenlights"), (t_newmethod)blinkenlights_new, (t_method)blinkenlights_free, sizeof(t_blinkenlights), 0, A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, 0); diff --git a/compressor~.c b/compressor~.c index f2dc545..1846368 100644 --- a/compressor~.c +++ b/compressor~.c @@ -97,7 +97,7 @@ static void compressor_dsp(t_compressor *x, t_signal **sp) void compressor_tilde_setup(void) { - verbose(0, compressor_version ); + logpost(NULL, 4, compressor_version ); compressor_class = class_new(gensym("compressor~"), (t_newmethod)compressor_new, 0, sizeof(t_compressor), 0, 0); CLASS_MAINSIGNALIN( compressor_class, t_compressor, x_f ); diff --git a/cooled~.c b/cooled~.c index 3f43b1a..2aa1985 100644 --- a/cooled~.c +++ b/cooled~.c @@ -1455,7 +1455,7 @@ static void *cooled_new(t_symbol *s, int argc, t_atom *argv) void cooled_tilde_setup(void) { - verbose(0, cooled_version); + logpost(NULL, 4, cooled_version); cooled_class = class_new(gensym("cooled~"), (t_newmethod)cooled_new, (t_method)cooled_free, sizeof(t_cooled), 0, A_GIMME, 0); diff --git a/countund.c b/countund.c index 47aac77..07d5565 100644 --- a/countund.c +++ b/countund.c @@ -115,7 +115,7 @@ static void *countund_bang(t_countund *x) void countund_setup(void) { - verbose(0, countund_version); + logpost(NULL, 4, countund_version); countund_class = class_new(gensym("countund"), (t_newmethod)countund_new, (t_method)countund_free, sizeof(t_countund), 0, A_DEFFLOAT, 0); diff --git a/disto~.c b/disto~.c index db5c5dc..826874e 100644 --- a/disto~.c +++ b/disto~.c @@ -473,7 +473,7 @@ static void *disto_new(void) void disto_tilde_setup(void) { - verbose(0, disto_version ); + logpost(NULL, 4, disto_version ); disto_class = class_new(gensym("disto~"), (t_newmethod)disto_new, (t_method)disto_free, sizeof(t_disto), 0, 0); diff --git a/exciter.c b/exciter.c index 59ef414..6925854 100644 --- a/exciter.c +++ b/exciter.c @@ -789,7 +789,7 @@ static void exciter_free(t_exciter *x) void exciter_setup(void) { - verbose(0, exciter_version ); + logpost(NULL, 4, exciter_version ); exciter_class = class_new(gensym("exciter"), (t_newmethod)exciter_new, (t_method)exciter_free, sizeof(t_exciter), 0, A_GIMME, 0); class_addmethod(exciter_class, (t_method)exciter_dialog, gensym("dialog"), A_GIMME, 0); diff --git a/filterbank~.c b/filterbank~.c index 4fab001..49e5b98 100644 --- a/filterbank~.c +++ b/filterbank~.c @@ -653,7 +653,7 @@ static void filterbank_dsp(t_filterbank_tilde *x, t_signal **sp) void filterbank_tilde_setup(void) { - verbose(0, filterbank_version ); + logpost(NULL, 4, filterbank_version ); filterbank_class_tilde = class_new(gensym("filterbank~"), (t_newmethod)filterbank_new, (t_method)filterbank_free, sizeof(t_filterbank_tilde), 0, A_GIMME, 0); CLASS_MAINSIGNALIN( filterbank_class_tilde, t_filterbank_tilde, x_f ); diff --git a/formant~.c b/formant~.c index b2c2c33..0535576 100644 --- a/formant~.c +++ b/formant~.c @@ -260,7 +260,7 @@ static void *formant_new(t_floatarg fsize, t_floatarg ffreq, t_floatarg ffwidth, void formant_tilde_setup(void) { - verbose(0, formant_version); + logpost(NULL, 4, formant_version); formant_class = class_new(gensym("formant~"), (t_newmethod)formant_new, (t_method)formant_free, sizeof(t_formant), 0, A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, 0); class_addmethod(formant_class, (t_method)formant_dsp, gensym("dsp"), 0); diff --git a/grid.c b/grid.c index 4759543..bcd5fa2 100644 --- a/grid.c +++ b/grid.c @@ -682,7 +682,7 @@ static void grid_free(t_grid *x) void grid_setup(void) { - verbose(0, grid_version ); + logpost(NULL, 4, grid_version ); grid_class = class_new(gensym("grid"), (t_newmethod)grid_new, (t_method)grid_free, sizeof(t_grid), 0, A_GIMME, 0); class_addmethod(grid_class, (t_method)grid_click, gensym("click"), diff --git a/mp3amp~.c b/mp3amp~.c index 165ef36..600ee4e 100644 --- a/mp3amp~.c +++ b/mp3amp~.c @@ -1245,7 +1245,7 @@ static void *mp3amp_new(t_floatarg fdographics) /* init mpg123 decoder */ mp3amp_tilde_mpglib_init(x); - verbose(0, mp3amp_version); + logpost(NULL, 4, mp3amp_version); return (x); } diff --git a/mp3cast~.c b/mp3cast~.c index d015da8..033f1f3 100644 --- a/mp3cast~.c +++ b/mp3cast~.c @@ -368,7 +368,7 @@ static void mp3cast_tilde_lame_init(t_mp3cast *x) #endif /* _WIN32 */ { const char *lameVersion = get_lame_version(); - verbose(0, "mp3cast~ : using lame version : %s", lameVersion ); + logpost(NULL, 4, "mp3cast~ : using lame version : %s", lameVersion ); } @@ -810,7 +810,7 @@ static void mp3cast_mpeg(t_mp3cast *x, t_floatarg fsamplerate, t_floatarg fbitra static void mp3cast_print(t_mp3cast *x) { const char * buf = 0; - verbose(0, mp3cast_version); + logpost(NULL, 4, mp3cast_version); post(" LAME mp3 settings:\n" " output sample rate: %d Hz\n" " bitrate: %d kbit/s", x->x_samplerate, x->x_bitrate); @@ -972,7 +972,7 @@ static void *mp3cast_new(void) void mp3cast_tilde_setup(void) { - verbose(0, mp3cast_version); + logpost(NULL, 4, mp3cast_version); mp3cast_class = class_new(gensym("mp3cast~"), (t_newmethod)mp3cast_new, (t_method)mp3cast_free, sizeof(t_mp3cast), 0, 0); CLASS_MAINSIGNALIN(mp3cast_class, t_mp3cast, x_f ); diff --git a/mp3fileout~.c b/mp3fileout~.c index 65c4ae4..a751fd4 100644 --- a/mp3fileout~.c +++ b/mp3fileout~.c @@ -542,7 +542,7 @@ static void *mp3fileout_new(void) void mp3fileout_tilde_setup(void) { - verbose(0, mp3fileout_version ); + logpost(NULL, 4, mp3fileout_version ); mp3fileout_class = class_new(gensym("mp3fileout~"), (t_newmethod) mp3fileout_new, (t_method) mp3fileout_free, sizeof(t_mp3fileout), 0, A_NULL); diff --git a/mp3streamin~.c b/mp3streamin~.c index cacdb1b..f84c8ee 100644 --- a/mp3streamin~.c +++ b/mp3streamin~.c @@ -669,7 +669,7 @@ static void *mp3streamin_new(t_floatarg fportno, t_floatarg fdographics) void mp3streamin_tilde_setup(void) { - verbose(0, mp3streamin_version ); + logpost(NULL, 4, mp3streamin_version ); mp3streamin_class = class_new(gensym("mp3streamin~"), (t_newmethod) mp3streamin_new, (t_method) mp3streamin_free, sizeof(t_mp3streamin), CLASS_NOINLET, A_DEFFLOAT, A_DEFFLOAT, A_NULL); diff --git a/mp3streamout~.c b/mp3streamout~.c index 5f089dc..7ef2d8b 100644 --- a/mp3streamout~.c +++ b/mp3streamout~.c @@ -376,7 +376,7 @@ static void mp3streamout_tilde_lame_init(t_mp3streamout *x) #endif { const char *lameVersion = get_lame_version(); - verbose(0, "mp3streamout~ : using lame version : %s", lameVersion ); + logpost(NULL, 4, "mp3streamout~ : using lame version : %s", lameVersion ); } /* setting lame parameters */ @@ -550,7 +550,7 @@ static void mp3streamout_print(t_mp3streamout *x) { const char * buf = 0; - verbose(0, mp3streamout_version); + logpost(NULL, 4, mp3streamout_version); post(" LAME mp3 settings:\n" " output sample rate: %d Hz\n" " bitrate: %d kbit/s", x->x_samplerate, x->x_bitrate); @@ -629,7 +629,7 @@ static void *mp3streamout_new(void) void mp3streamout_tilde_setup(void) { - verbose(0, mp3streamout_version); + logpost(NULL, 4, mp3streamout_version); mp3streamout_class = class_new(gensym("mp3streamout~"), (t_newmethod)mp3streamout_new, (t_method)mp3streamout_free, sizeof(t_mp3streamout), 0, 0); CLASS_MAINSIGNALIN(mp3streamout_class, t_mp3streamout, x_f ); diff --git a/mp3write~.c b/mp3write~.c index 6cae3e9..db9890e 100644 --- a/mp3write~.c +++ b/mp3write~.c @@ -362,7 +362,7 @@ static int mp3write_tilde_lame_init(t_mp3write *x) #endif { const char *lameVersion = get_lame_version(); - verbose(0, "mp3write~ : using lame version : %s", lameVersion ); + logpost(NULL, 4, "mp3write~ : using lame version : %s", lameVersion ); } /* setting lame parameters */ @@ -490,7 +490,7 @@ static void mp3write_mpeg(t_mp3write *x, t_floatarg fsamplerate, t_floatarg fbit static void mp3write_print(t_mp3write *x) { const char * buf = 0; - verbose(0, mp3write_version); + logpost(NULL, 4, mp3write_version); post(" LAME mp3 settings:\n" " output sample rate: %d Hz\n" " bitrate: %d kbit/s", x->x_samplerate, x->x_bitrate); @@ -622,7 +622,7 @@ static void *mp3write_new(void) void mp3write_tilde_setup(void) { - verbose(0, mp3write_version); + logpost(NULL, 4, mp3write_version); mp3write_class = class_new(gensym("mp3write~"), (t_newmethod)mp3write_new, (t_method)mp3write_free, sizeof(t_mp3write), 0, 0); CLASS_MAINSIGNALIN(mp3write_class, t_mp3write, x_f ); diff --git a/pianoroll.c b/pianoroll.c index ceda733..8a5269e 100644 --- a/pianoroll.c +++ b/pianoroll.c @@ -786,7 +786,7 @@ static void pianoroll_free(t_pianoroll *x) void pianoroll_setup(void) { - verbose(0, pianoroll_version ); + logpost(NULL, 4, pianoroll_version ); pianoroll_class = class_new(gensym("pianoroll"), (t_newmethod)pianoroll_new, (t_method)pianoroll_free, sizeof(t_pianoroll), 0, A_GIMME, 0); class_addmethod(pianoroll_class, (t_method)pianoroll_float, &s_float, A_FLOAT, 0); diff --git a/playlist.c b/playlist.c index f4f9051..407eeeb 100644 --- a/playlist.c +++ b/playlist.c @@ -794,7 +794,7 @@ static t_playlist *playlist_new(t_symbol *s, int argc, t_atom *argv ) (int)x->x_charheight, argv[5].a_w.w_symbol->s_name ); argoffset=0; } - verbose(0, "playlist : font : %s, size : %d", x->x_font, (int)x->x_charheight ); + logpost(NULL, 4, "playlist : font : %s, size : %d", x->x_font, (int)x->x_charheight ); } if ( argc >= 7-argoffset ) { @@ -977,7 +977,7 @@ static void playlist_location(t_playlist *x, t_symbol *flocation) void playlist_setup(void) { - verbose(0, "%s", playlist_version ); + logpost(NULL, 4, "%s", playlist_version ); playlist_class = class_new(gensym("playlist"), (t_newmethod)playlist_new, (t_method)playlist_free, sizeof(t_playlist), CLASS_DEFAULT, A_GIMME, 0); diff --git a/probalizer.c b/probalizer.c index 9b1ee99..576c237 100644 --- a/probalizer.c +++ b/probalizer.c @@ -676,7 +676,7 @@ static void probalizer_free(t_probalizer *x) void probalizer_setup(void) { - verbose(0, probalizer_version ); + logpost(NULL, 4, probalizer_version ); probalizer_class = class_new(gensym("probalizer"), (t_newmethod)probalizer_new, (t_method)probalizer_free, sizeof(t_probalizer), 0, A_GIMME, 0); class_addmethod(probalizer_class, (t_method)probalizer_dialog, gensym("dialog"), A_GIMME, 0); diff --git a/randomblock~.c b/randomblock~.c index d9e2fe0..ad41034 100644 --- a/randomblock~.c +++ b/randomblock~.c @@ -111,7 +111,7 @@ static void randomblock_dsp(t_randomblock *x, t_signal **sp) void randomblock_tilde_setup(void) { - verbose(0, randomblock_version); + logpost(NULL, 4, randomblock_version); randomblock_class = class_new(gensym("randomblock~"), (t_newmethod)randomblock_new, (t_method)randomblock_free, sizeof(t_randomblock), 0, A_DEFFLOAT, 0); diff --git a/samplebox~.c b/samplebox~.c index ea8bb65..1957c3a 100644 --- a/samplebox~.c +++ b/samplebox~.c @@ -579,7 +579,7 @@ static void *samplebox_new(t_floatarg fsize) void samplebox_tilde_setup(void) { - verbose(0, samplebox_version); + logpost(NULL, 4, samplebox_version); samplebox_class = class_new(gensym("samplebox~"), (t_newmethod)samplebox_new, (t_method)samplebox_free, sizeof(t_samplebox), 0, A_DEFFLOAT, 0); CLASS_MAINSIGNALIN( samplebox_class, t_samplebox, x_f ); diff --git a/scratcher~.c b/scratcher~.c index 81d7868..a847071 100644 --- a/scratcher~.c +++ b/scratcher~.c @@ -805,7 +805,7 @@ static void *scratcher_new(t_symbol *s, int argc, t_atom *argv) void scratcher_tilde_setup(void) { - verbose(0, scratcher_version); + logpost(NULL, 4, scratcher_version); scratcher_class = class_new(gensym("scratcher~"), (t_newmethod)scratcher_new, (t_method)scratcher_free, sizeof(t_scratcher), 0, A_GIMME, 0); diff --git a/scrolllist.c b/scrolllist.c index e10846b..1a9d1be 100644 --- a/scrolllist.c +++ b/scrolllist.c @@ -1000,7 +1000,7 @@ static void scrolllist_free(t_scrolllist *x) void scrolllist_setup(void) { - verbose(0, scrolllist_version ); + logpost(NULL, 4, scrolllist_version ); scrolllist_class = class_new(gensym("scrolllist"), (t_newmethod)scrolllist_new, (t_method)scrolllist_free, sizeof(t_scrolllist), CLASS_DEFAULT, A_GIMME, 0); diff --git a/sonogram~.c b/sonogram~.c index 90168de..a5ef181 100644 --- a/sonogram~.c +++ b/sonogram~.c @@ -2251,7 +2251,7 @@ static void *sonogram_new(t_floatarg fsize, t_floatarg fgraphic, t_floatarg fpha void sonogram_tilde_setup(void) { - verbose(0, sonogram_version); + logpost(NULL, 4, sonogram_version); sonogram_class = class_new(gensym("sonogram~"), (t_newmethod)sonogram_new, (t_method)sonogram_free, sizeof(t_sonogram), 0, A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, 0); diff --git a/speexin~.c b/speexin~.c index 60a441f..ca3cdfc 100644 --- a/speexin~.c +++ b/speexin~.c @@ -608,7 +608,7 @@ static void *speexin_new(t_floatarg fportno, t_floatarg fdographics) void speexin_tilde_setup(void) { - verbose(0, speexin_version ); + logpost(NULL, 4, speexin_version ); speexin_class = class_new(gensym("speexin~"), (t_newmethod) speexin_new, (t_method) speexin_free, sizeof(t_speexin), CLASS_NOINLET, A_DEFFLOAT, A_DEFFLOAT, A_NULL); diff --git a/speexout~.c b/speexout~.c index 67752f6..6e4a597 100644 --- a/speexout~.c +++ b/speexout~.c @@ -444,7 +444,7 @@ static void *speexout_new(t_symbol *s, int argc, t_atom *argv) void speexout_tilde_setup(void) { - verbose(0, speexout_version); + logpost(NULL, 4, speexout_version); speexout_class = class_new(gensym("speexout~"), (t_newmethod)speexout_new, (t_method)speexout_free, sizeof(t_speexout), 0, A_GIMME, 0); CLASS_MAINSIGNALIN(speexout_class, t_speexout, x_f ); diff --git a/spigot~.c b/spigot~.c index 5ab4acc..0b8a1ad 100644 --- a/spigot~.c +++ b/spigot~.c @@ -71,7 +71,7 @@ static void spigot_set(t_spigot *x, t_float f) void spigot_tilde_setup(void) { - verbose(0, spigot_version ); + logpost(NULL, 4, spigot_version ); spigot_class = class_new(gensym("spigot~"), (t_newmethod)spigot_new, 0, sizeof(t_spigot), 0, 0); CLASS_MAINSIGNALIN( spigot_class, t_spigot, x_f ); diff --git a/vocoder~.c b/vocoder~.c index 60d3e8b..ef53c4f 100644 --- a/vocoder~.c +++ b/vocoder~.c @@ -153,7 +153,7 @@ static void vocoder_free(t_vocoder *x) void vocoder_tilde_setup(void) { - verbose(0, vocoder_version); + logpost(NULL, 4, vocoder_version); vocoder_class = class_new(gensym("vocoder~"), (t_newmethod)vocoder_new, (t_method)vocoder_free, sizeof(t_vocoder), 0, 0); CLASS_MAINSIGNALIN( vocoder_class, t_vocoder, x_f ); diff --git a/wahwah~.c b/wahwah~.c index 322b078..d0ecac2 100644 --- a/wahwah~.c +++ b/wahwah~.c @@ -393,7 +393,7 @@ static void *wahwah_new(void) void wahwah_tilde_setup(void) { - verbose(0, wahwah_version ); + logpost(NULL, 4, wahwah_version ); wahwah_class = class_new(gensym("wahwah~"), (t_newmethod)wahwah_new, (t_method)wahwah_free, sizeof(t_wahwah), 0, 0); -- cgit v1.2.1