From 50ee50db1dba9106d4790c73f646af5f1cdbba68 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/pdogg/; revision=16033 --- oggamp~.c | 2 +- oggcast~.c | 2 +- oggread~.c | 2 +- oggwrite~.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/oggamp~.c b/oggamp~.c index f289e55..d8c8c79 100644 --- a/oggamp~.c +++ b/oggamp~.c @@ -1056,7 +1056,7 @@ static void *oggamp_new(t_floatarg fdographics, t_floatarg fnchannels, t_floatar x->x_graphic = (int)fdographics; x->x_canvas = canvas_getcurrent(); - verbose(0, oggamp_version); + logpost(NULL, 4, oggamp_version); post("oggamp~: set buffer to %dk bytes", bufsize/1024); /* start child thread */ diff --git a/oggcast~.c b/oggcast~.c index 58118d4..91545ca 100644 --- a/oggcast~.c +++ b/oggcast~.c @@ -1070,7 +1070,7 @@ static void *oggcast_new(t_floatarg fnchannels, t_floatarg fbufsize) x->x_mountpoint = "puredata.ogg"; x->x_servertype = 1; /* HTTP/1.0 protocol for Icecast2 */ - verbose(0, oggcast_version); + logpost(NULL, 4, oggcast_version); post("oggcast~: set buffer to %dk bytes", bufsize / 1024); post("oggcast~: encoding %d channels @ %d Hz", x->x_channels, x->x_samplerate); diff --git a/oggread~.c b/oggread~.c index 4088ede..d0e7c1d 100644 --- a/oggread~.c +++ b/oggread~.c @@ -394,7 +394,7 @@ static void *oggread_new(t_floatarg fdographics) x->x_outunread = 0; x->x_decoded = 0; - verbose(0, oggread_version); + logpost(NULL, 4, oggread_version); return (x); } diff --git a/oggwrite~.c b/oggwrite~.c index 1a81228..2d4c631 100644 --- a/oggwrite~.c +++ b/oggwrite~.c @@ -729,7 +729,7 @@ static void *oggwrite_new(void) x->x_bcperformer = ""; x->x_bccontact = ""; x->x_bcdate = ""; - verbose(0, oggwrite_version); + logpost(NULL, 4, oggwrite_version); return(x); } -- cgit v1.2.1