aboutsummaryrefslogtreecommitdiff
path: root/mp3cast~.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-02-26 04:51:34 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:23:30 +0200
commit02492105462a34bde7b607802873cd52d1e3a1f4 (patch)
treed1b11608de36b14c428eda0cc4762223ad06c674 /mp3cast~.c
parenta8227b830546e7e1e8c86334f19dfb829066437d (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/unauthorized/; revision=16033
Diffstat (limited to 'mp3cast~.c')
-rw-r--r--mp3cast~.c6
1 files changed, 3 insertions, 3 deletions
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 );