aboutsummaryrefslogtreecommitdiff
path: root/mp3streamout~.c
diff options
context:
space:
mode:
Diffstat (limited to 'mp3streamout~.c')
-rw-r--r--mp3streamout~.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mp3streamout~.c b/mp3streamout~.c
index 2140093..80022cc 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();
- logpost(NULL, 4, "mp3streamout~ : using lame version : %s", lameVersion );
+ logpost(NULL, 4, "%s", "mp3streamout~ : using lame version : %s", lameVersion );
}
/* setting lame parameters */
@@ -550,7 +550,7 @@ static void mp3streamout_print(t_mp3streamout *x)
{
const char * buf = 0;
- logpost(NULL, 4, mp3streamout_version);
+ logpost(NULL, 4, "%s", 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)
{
- logpost(NULL, 4, mp3streamout_version);
+ logpost(NULL, 4, "%s", 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 );