aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-02-26 04:51:34 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-02-26 04:51:34 +0000
commit50ee50db1dba9106d4790c73f646af5f1cdbba68 (patch)
treea18accf1d35cc2e8c8b820bb6365ed817f43ecb8
parentfc167ea3312f72044f096c2f6ef373028532d219 (diff)
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
-rw-r--r--oggamp~.c2
-rw-r--r--oggcast~.c2
-rw-r--r--oggread~.c2
-rw-r--r--oggwrite~.c2
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);
}