[asterisk-commits] russell: branch russell/jack r96444 - /team/russell/jack/apps/app_jack.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jan 3 18:50:24 CST 2008
Author: russell
Date: Thu Jan 3 18:50:23 2008
New Revision: 96444
URL: http://svn.digium.com/view/asterisk?view=rev&rev=96444
Log:
Change some warnings to debug messages
Modified:
team/russell/jack/apps/app_jack.c
Modified: team/russell/jack/apps/app_jack.c
URL: http://svn.digium.com/view/asterisk/team/russell/jack/apps/app_jack.c?view=diff&rev=96444&r1=96443&r2=96444
==============================================================================
--- team/russell/jack/apps/app_jack.c (original)
+++ team/russell/jack/apps/app_jack.c Thu Jan 3 18:50:23 2008
@@ -234,7 +234,7 @@
res = jack_ringbuffer_write(jack_data->input_rb, (const char *) s_buf, write_len);
if (res != write_len) {
- ast_log(LOG_WARNING, "Tried to write %d bytes to the ringbuffer, but only wrote %d\n",
+ ast_debug(1, "Tried to write %d bytes to the ringbuffer, but only wrote %d\n",
(int) sizeof(s_buf), (int) res);
}
}
@@ -255,7 +255,7 @@
res = jack_ringbuffer_read(jack_data->output_rb, buf, len);
if (len != res) {
- ast_log(LOG_WARNING, "Wanted %d bytes to send to the output port, "
+ ast_debug(1, "Wanted %d bytes to send to the output port, "
"but only got %d\n", (int) len, (int) res);
}
}
@@ -441,7 +441,7 @@
res = jack_ringbuffer_write(jack_data->output_rb, (const char *) f_buf, f_buf_used * sizeof(float));
if (res != (f_buf_used * sizeof(float))) {
- ast_log(LOG_WARNING, "Tried to write %d bytes to the ringbuffer, but only wrote %d\n",
+ ast_debug(1, "Tried to write %d bytes to the ringbuffer, but only wrote %d\n",
(int) (f_buf_used * sizeof(float)), (int) res);
}
More information about the asterisk-commits
mailing list